Azure Container Instances (ACI) have recently reached GA and adoption and use cases have come up in a lot of places. Two examples of that would be my NAV/BC on ACI quickstart template and the API-enabled NAV instance on ACI you can create from my VS Code extension. Two very nice features have also been added to ACI: The ability to directly get logs from your ACI and execute a command in it
If you want to get the logs from your ACI do
1 | az container logs --name <containername> --resource-group <groupname> |
and if you want to execute a command, e.g. powershell in your ACI do
1 | az container exec --name <containername> --resource-group <groupname> --exec-command powershell |
. After that just do whatever you need to do in PowerShell. This gives you the flexibility to change everything you need in your ACI, making it a fully functional environment.
Actually, in this case I don’t have anything to share additionally, so I’ll just end it with a quick sample of restarting your NAV Server instance in your NAV ACI:
Thanks a lot to Anders Liu for sharing this (weeks ago…)!
Sie sehen gerade einen Platzhalterinhalt von Facebook. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfläche unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.
Mehr InformationenSie sehen gerade einen Platzhalterinhalt von Instagram. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfläche unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.
Mehr InformationenSie sehen gerade einen Platzhalterinhalt von X. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfläche unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.
Mehr Informationen