Docker Community Forums

Share and learn in the Docker community.

Job for docker.service failed because the control process exited with error code

I am using Ubuntu 18.04 LTS, and am trying to install Docker-ce but get this error:
Job for docker.service failed because the control process exited with error code.
See “systemctl status docker.service” and “journalctl -xe” for details.
invoke-rc.d: initscript docker, action “start” failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2019-07-31 08:12:40 BST; 7ms ago
Docs: https://docs.docker.com
Process: 15352 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 15352 (code=exited, status=1/FAILURE)

Jul 31 08:12:40 gaia-ubuntu systemd[1]: docker.service: Failed with result ‘exit-code’.
Jul 31 08:12:40 gaia-ubuntu systemd[1]: Failed to start Docker Application Container Engine.
dpkg: error processing package docker-ce (–configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Processing triggers for ureadahead (0.100.0-21) …
Processing triggers for systemd (237-3ubuntu10.24) …
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

As a newbie to linux I am kind of lost as to how to fix this, and would be grateful for any/all assistance in resolving this installation issue.
Thank you.

I have this problem too. both ubuntu 18.04 and 19.04.
have you solved this problem ?