参考的方法一:

停止docker服务,systemctl stop docker
vi /etc/docker/daemon.json
增加选项 “graph”: “/home/docker”,
启动docker服务,systemctl start docker