Applicable to:
- Plesk Onyx for Linux
Symptoms
-
Unable to start the Docker service on a Plesk server with the following errors in
/var/log/messages
file:CONFIG_TEXT: systemd: Failed to start containerd container runtime.
systemd: Dependency failed for Docker Application Container Engine.
systemd: Job docker.service/start failed with result 'dependency'. -
The version of the Docker service is
docker-ce 18.09.
Cause
This is the bug of the Docker service 18.09 version.
Resolution
-
Log into the server via SSH.
-
Execute the commands below one by one to create the
/etc/systemd/system/containerd.service.d/override.conf
configuration file:# mkdir -p /etc/systemd/system/containerd.service.d
# touch /etc/systemd/system/containerd.service.d/override.conf
-
Run the command to add necessary directives into the
/etc/systemd/system/containerd.service.d/override.conf
file:# echo -e "[Service]\nExecStartPre=" >> /etc/systemd/system/containerd.service.d/override.conf
-
Reload systemd manager configuration:
# systemctl daemon-reload
-
Start the Docker service:
# systemctl start docker
Comments
1 comment
Hey,man.It doesn't work!
Please sign in to leave a comment.