red888
red888

Reputation: 31520

Where are images stored for Docker EE on Windows Server 2016 and how do I change its location?

Im running the latest Docker EE on server 2016, where are my images and containers stored on disk?

Running docker info I see this:

Docker Root Dir: C:\ProgramData\docker

I have a csv volume mounted on the server and I want docker to use that volume for images and containers.

Where do I configure where docker stores and runs images and containers?

Upvotes: 0

Views: 736

Answers (1)

friism
friism

Reputation: 19279

This can be controlled with the --graph option to dockerd.exe or by similarly modifying the C:\ProgramData\Docker\config\daemon.json file. Details here: https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon#configure-docker-with-configuration-file

Upvotes: 1

Related Questions