$ systemctl stop docker
$ sud rsync -a /var/lib/docker/ /mnt/Data/docker-data
$ sudo vi /etc/docker/daemon.json{
"data-root": "/mnt/Data/docker-data",
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
$ systemctl start docker
$ systemctl status docker
$ sudo docker info
沒有留言:
張貼留言