Disappearing docker images in azure compute engine

Sampsa Riikonen (Silo AI Oy) 0 Reputation points Microsoft Vendor
2023-11-02T09:37:31.7266667+00:00

Can't find anywhere to get help with this (the ai assisted help chatbot really sucked on this one), so I'll try my luck here instead.

I'm using azure compute engine (CE). I need to use several docker images in the compute engine. However, the CE's diskspace can easily fill up, so I put the images into

/mnt/docker

or into

~/cloudfiles/data/

i.e., my /etc/docker/daemon.json looks like this:

{
 "data-root": "/mnt/docker",
    "runtimes": {
        "nvidia": {
            "path": "nvidia-container-runtime",
            "runtimeArgs": []
        }
    }
}


After logging in after some time to the compute engine, I do "docker info", and I can see that it is "Docker Root Dir: /mnt/docker" still allright.

However, when I do "docker image ls", I can only see the default azure CE docker images (ghcr.io/azure/c3, localhost/c3).

So, the azure CE sneakily erases all other docker images. How can this be avoided?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
715 questions
{count} votes

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.