0

I want to pull a Azure Container to my local system from the Azure Container Instance.

My Container

my goal is to create an image from this container. I just don't know how :) I have now tried by running the arm script in Azure and creating the container. Now I have the container but don't know how to create an image of it and then download it.

Bruno Leite
  • 542
  • 4
  • 12

1 Answers1

0

If you have made changes to the ACI container's filesystem which you want to persist in a new image, then, I'm afraid, without access to the underlying infrastructure hosting the container runtime, you shall not be able to perform a docker commit or similar operation to build an image from a running container.

At the time of writing, since Azure Container Groups are Container-as-a-Service offering, Azure does not allow customers access to the underlying infrastructure that support them.

Instead you can write your own Dockerfile [How-to] with base image as atmoz/sftp:latest and adding additional layers for the desired modifications. You can refer to atmoz/sftp on Docker Hub for usage and guidelines.

Srijit_Bose-MSFT
  • 1,010
  • 4
  • 13