sudo dockerd --data-root /mnt/docker-root 1. 这将启动 Docker 守护进程,并将 Docker 的根目录设置为/mnt/docker-root。
"data-root": "/D/CACHE/var/lib/docker" }
{ "registry-mirrors": ["https://registry.docker-cn.com"], "insecure-registry": ["192.168.145.28:1603","192.168.101.123:1603"], "data-root": "/D/CACHE/var/lib/docker" }