how make a vm out of data in a container instance

Daniel Månsson 1 Reputation point
2021-05-30T17:04:31.02+00:00

How can I make av VM out of the data in a container image?
Make a disk of that data and then a VM based on that disk?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
748 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SRIJIT-BOSE-MSFT 4,271 Reputation points Microsoft Employee
    2021-06-01T08:25:07.637+00:00

    @Daniel Månsson Containers do not have a kernel and instead use container shims on the container engine to make kernel calls on the host machine. Hence the container's file system cannot be used to make a disk image that can successfully boot a virtual machine, because it will have no kernel.
    Instead you can mount an Azure File Share volume on an ACI to store data that you want to be persistent and mount the same Azure File Share to your Azure Linux VM to share required data from ACI to Azure VM.

    Hope this helps!!!

    Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.