3

I'm using the Azure resource "Web app for containers" with a Linux docker image. I would like to use docker commands such as "docker inspect" but I'm not sure how this is possible. Via the Kudo interface this doesn't seem possible. I cannot even get the SHA256 hash of the image currently deployed. All I have is the initial docker run command executed by the app service itself.

Does anyone know how such operations can be executed with app containers in Azure ?

Mr Davies
  • 569
  • 6
  • 16

1 Answers1

1

The Azure Web app for container is different from the container. It is a web app service when you create it. The difference is that it comes out from a container.

So you cannot execute a docker command to a web app. You can execute the command of the web app.

For example, if you want to check the container image, the command is az webapp config container show --resource-group groupName --name webName and the result like this:

enter image description here

For more details about Web app command, see Web App commands.

Charles Xu
  • 29,862
  • 2
  • 22
  • 39
  • Thanks for the command, there are some interesting options to explore event though I think most of this information is also available in the azure portal. I think it's a shame there is not the option to at least see the digest. – Mr Davies Sep 12 '18 at 05:49
  • Yeah, the information looks a bit less about the container. Maybe it will get improved in the future. – Charles Xu Sep 12 '18 at 06:11