在通过将我的新目录/var/lib/docker
添加到--data-root /media/abdelaziz/1E6AFBDE6AFBB09F1/installation/docker
文件来更改默认Docker根目录docker.service
之后:
1-我用daemon-reload
重新加载了systemctl daemon-reload
文件
2-将我先前在/var/lib/docker
上创建的容器移动到我的新目的地
3-通过以下方式重新启动docker服务:systemctl restart docker
但是
服务没有启动,我收到此消息:
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
systemctl status docker.service
返回:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since ر 2020-05-20 14:46:43 CET; 7min ago
Docs: https://docs.docker.com
Process: 23842 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --data-root /media/abdelaziz/1E6AFBDE6AFBB09F1/insta
Main PID: 23842 (code=exited, status=1/FAILURE)
ماي 20 14:46:41 abdelaziz-VPCEH3U1E systemd[1]: Failed to start Docker Application Container Engine.
ماي 20 14:46:41 abdelaziz-VPCEH3U1E systemd[1]: docker.service: Unit entered failed state.
ماي 20 14:46:41 abdelaziz-VPCEH3U1E systemd[1]: docker.service: Failed with result 'exit-code'.
ماي 20 14:46:43 abdelaziz-VPCEH3U1E systemd[1]: docker.service: Service hold-off time over, scheduling restart.
ماي 20 14:46:43 abdelaziz-VPCEH3U1E systemd[1]: Stopped Docker Application Container Engine.
ماي 20 14:46:43 abdelaziz-VPCEH3U1E systemd[1]: docker.service: Start request repeated too quickly.
ماي 20 14:46:43 abdelaziz-VPCEH3U1E systemd[1]: Failed to start Docker Application Container Engine.
ماي 20 14:46:43 abdelaziz-VPCEH3U1E systemd[1]: docker.service: Unit entered failed state.
ماي 20 14:46:43 abdelaziz-VPCEH3U1E systemd[1]: docker.service: Failed with result 'start-limit-hit'.
有人对我该做什么有任何想法吗?