INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / Микроблог / Thingiverse / RSS / GPG

Change docker data directory from /var/lib/docker to your

№ 10374 В разделе "Sysadmin" от October 25th, 2019,
В подшивках:

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

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Яндекс.Метрика

Fortune cookie: ... I want FORTY-TWO TRYNEL FLOATATION SYSTEMS installed within SIX AND A HALF HOURS!!!