With recent versions of Docker, you would set the value of the
With older versions, you can change Docker's storage base directory (where container and images go) using the
graph
parameter to your custom path, in /etc/docker/daemon.json
(according to https://docs.docker.com/v1.11/engine/reference/commandline/daemon/#daemon-configuration-file).With older versions, you can change Docker's storage base directory (where container and images go) using the
-g
option when starting the Docker daemon. (check docker --help
).
You can have this setting applied automatically when Docker starts by adding it to /etc/default/docker
Comments
Post a Comment
https://gengwg.blogspot.com/