Docker Community Forums

Share and learn in the Docker community.

Docker-ce installation on fresh install Ubuntu 19.10 failing

I have tried installing Docker-ce for Ubuntu 19.04 on Ubuntu 19.10 on an Intel Core i3-9100 w/ 16gb ram. Unfortunately it fails. These are the steps I followed:

sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable"
sudo apt install docker-ce

That last command to install Docker results in an error when it reaches Setting up docker-ce (5:19.03.3~3-0~ubuntu-disco) ...

I have searched online for hours but couldn’t find a resolution. Since this is a clean system, how does the rest of the world manages to install Docker on Ubuntu 19.10?

$ sudo apt install docker-ce
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  aufs-tools cgroupfs-mount docker-ce-cli pigz
The following NEW packages will be installed:
  aufs-tools cgroupfs-mount docker-ce docker-ce-cli pigz
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/65,5 MB of archives.
After this operation, 293 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package pigz.
(Reading database ... 234995 files and directories currently installed.)
Preparing to unpack .../archives/pigz_2.4-1_amd64.deb ...
Unpacking pigz (2.4-1) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a4.9+20170918-2_amd64.deb ...
Unpacking aufs-tools (1:4.9+20170918-2) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.4_all.deb ...
Unpacking cgroupfs-mount (1.4) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a19.03.3~3-0~ubuntu-disco_amd64.deb ...
Unpacking docker-ce-cli (5:19.03.3~3-0~ubuntu-disco) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a19.03.3~3-0~ubuntu-disco_amd64.deb ...
Unpacking docker-ce (5:19.03.3~3-0~ubuntu-disco) ...
Setting up aufs-tools (1:4.9+20170918-2) ...
Setting up docker-ce-cli (5:19.03.3~3-0~ubuntu-disco) ...
Setting up pigz (2.4-1) ...
Setting up cgroupfs-mount (1.4) ...
Setting up docker-ce (5:19.03.3~3-0~ubuntu-disco) ...
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 Mon 2019-12-23 20:42:41 CET; 3ms ago
     Docs: https://docs.docker.com
  Process: 9454 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 9454 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
 installed docker-ce package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (242-7ubuntu3.2) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for libc-bin (2.30-0ubuntu2) ...
Errors were encountered while processing:
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

no one? Is Ubuntu 19.10 that unpopular?

Hi,

I just encounter the same issue, my Ubuntu is 19.10(eaon), tried nightly but apt command said “not docker-ce package”, I tried stable/edge got same error as you. I also check the systemd docker.service and saw some warning messages. By the way, my docker was running well yesterday, after Ubuntu update daily today, my docker is “die”, I run docker command, check docker.service all of them just hang in …, so I dicided remove old docker and reinstall docker.