一、修改docker默认存储位置
1、停服务
systemctl stop docker
2、修改/etc/docker/daemon.json添加新的dcoker路径
如"data-root": "/mnt/hdd1/docker"
3、保存后重启服务:systemctl restart docker
二、其他服务的命令
systemctl disable docker
systemctl enable docker
systemctl daemon-reload
systemctl start docker
systemctl restart docker