№ 10374 В разделе
Sysadmin
от October 25th, 2019,
В подшивках: Docker
Stop Docker daemon and move /var/lib/docker to new place, for example /mnt/HC_Volume_3397296/docker
Create file /etc/docker/daemon.json with contents:
{ "data-root": "/mnt/HC_Volume_3397296/docker" }
Now start daemon.
Read more about Docker config file https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
Fortune cookie: A man needs a mistress, just to break the monogamy.
Leave a Reply