4 sudo service docker stop
6 echo "{ \"data-root\": \"$1\" }" > /etc
/docker
/daemon.json
9 sudo apt update
&& sudo apt
-y install rsync
10 sudo rsync
-aP /var
/lib
/docker
/ $1
11 sudo
mv /var
/lib
/docker
/var
/lib
/docker.old
13 sudo service docker start