1、查询dockcer默认存储路径
#docker info
2、停止docker服务
# systemctl stop docker
# systemctl status docker
3、[endif]新建要存储的目录
#mkdir /home/docker_store
#mv /var/lib/docker /home/docker_store
4、修改docker启动配置文件(/usr/lib/systemd/system/docker.service)
--graph /home/docker_store/docker指定镜像和容器的路径
5、启动docker
# systemctl daemon-reload
# systemctl start docker
6、验证docker存储路径
#docker info
7、查看已下载的镜像文件
#docker images