Closed griff-rees closed 1 year ago
Following this tutorial I'm shifting to the mounted external volume via something like:
$ sudo cat > /etc/docker/daemon.json <<EOF
{
"data-root": "/mnt/docker-data"
}
EOF
$ sudo rsync -aSv /var/lib/docker/ /mnt/docker-data
$ sudo service docker restart
Using an intermediary drive between different azure
configs proved quite complex to maintain. Some parts of this configuration were achieved but difficult to replicate and quite specific to azure
. Safest to leave unresolved unless further attention in the future.
Running
docker
on a mounted hard drive path doesn't, by default, alter where thedocker
image
is stored. See this stack overflow comment for details.