Docker – set a custom data folder

The default docker data folder is /var/lib/docker. This can be changed to another folder with the following steps. These all need to executed as root or with sudo. Stop Docker on your computer Create a new docker daemon config Add the following text and replace /mnt/docker with the path you want to use as the…

Read More