docker-ce-packaging icon indicating copy to clipboard operation
docker-ce-packaging copied to clipboard

Debian bookworm install/service start fail

Open elmussol opened this issue 2 years ago • 0 comments

Following the instructions at Install Docker Engine, I get a failure in docker.service start. This is on a brand-new Hetzner Debian 12 image.

root@henthorn:~# cat /etc/apt/sources.list.d/docker.list 
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian   bookworm stable
root@henthorn:/# aptitude install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
The following NEW packages will be installed:
  containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin 
The following packages are RECOMMENDED but will NOT be installed:
  apparmor docker-ce-rootless-extras libltdl7 pigz 
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.2 MB/105 MB of archives. After unpacking 393 MB will be used.
Get: 1 https://download.docker.com/linux/debian bookworm/stable amd64 docker-buildx-plugin amd64 0.11.2-1~debian.12~bookworm [28.2 MB]
Get: 2 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce-cli amd64 5:24.0.5-1~debian.12~bookworm [13.3 MB]
Get: 3 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce amd64 5:24.0.5-1~debian.12~bookworm [22.9 MB]
Get: 4 https://download.docker.com/linux/debian bookworm/stable amd64 docker-compose-plugin amd64 2.20.2-1~debian.12~bookworm [11.9 MB]
Fetched 76.2 MB in 1s (147 MB/s)                
Selecting previously unselected package containerd.io.
(Reading database ... 39356 files and directories currently installed.)
Preparing to unpack .../containerd.io_1.6.21-1_amd64.deb ...
Unpacking containerd.io (1.6.21-1) ...
Selecting previously unselected package docker-buildx-plugin.
Preparing to unpack .../docker-buildx-plugin_0.11.2-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-buildx-plugin (0.11.2-1~debian.12~bookworm) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a24.0.5-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-ce-cli (5:24.0.5-1~debian.12~bookworm) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a24.0.5-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-ce (5:24.0.5-1~debian.12~bookworm) ...
Selecting previously unselected package docker-compose-plugin.
Preparing to unpack .../docker-compose-plugin_2.20.2-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-compose-plugin (2.20.2-1~debian.12~bookworm) ...
Setting up docker-buildx-plugin (0.11.2-1~debian.12~bookworm) ...
Setting up containerd.io (1.6.21-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up docker-compose-plugin (2.20.2-1~debian.12~bookworm) ...
Setting up docker-ce-cli (5:24.0.5-1~debian.12~bookworm) ...
Setting up docker-ce (5:24.0.5-1~debian.12~bookworm) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 145.
Processing triggers for man-db (2.11.2-2) ...

Consulting journalctl -xeb docker.service:

root@henthorn:/# journalctl -xeu docker.service
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ An ExecStart= process belonging to unit docker.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 24 19:02:55 henthorn systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Jul 24 19:02:55 henthorn systemd[1]: Failed to start docker.service - Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit docker.service has finished with a failure.
░░ 
░░ The job identifier is 3521 and the job result is failed.
Jul 24 19:02:57 henthorn systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jul 24 19:02:57 henthorn systemd[1]: Stopped docker.service - Docker Application Container Engine.
░░ Subject: A stop job for unit docker.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A stop job for unit docker.service has finished.
░░ 
░░ The job identifier is 3605 and the job result is done.
Jul 24 19:02:57 henthorn systemd[1]: docker.service: Start request repeated too quickly.
Jul 24 19:02:57 henthorn systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Jul 24 19:02:57 henthorn systemd[1]: Failed to start docker.service - Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit docker.service has finished with a failure.
░░ 
░░ The job identifier is 3605 and the job result is failed.

Thanks in anticipation. Any additional inofrmation, please ask.

elmussol avatar Jul 25 '23 06:07 elmussol