-
Notifications
You must be signed in to change notification settings - Fork 161
docker.service fails to start after upgrade from 24.0.2 to 24.0.3 #919
Copy link
Copy link
Closed
moby/moby
#45902Description
Hello,
We have encountered issues with our docker installation after the upgrade from 24.0.2 to 24.0.3 on the following systems:
- Debian 10
- Debian 11
- Ubuntu 20.04
- Ubuntu 22.04
According to the logs, it looks like the upgrade failed but we could not find the reason why:
~$ dpkg -l | grep docker-ce
iF docker-ce 5:24.0.3-1~ubuntu.20.04~focal amd64 Docker: the open-source application container engine
When running the upgrade command it fails when starting the docker service:
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up docker-ce (5:24.0.3-1~ubuntu.20.04~focal) ...
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 "restart" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─service-overrides.conf
Active: activating (auto-restart) (Result: exit-code) since Fri 2023-07-07 10:12:43 CEST; 23ms ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 3601344 ExecStart=/usr/bin/dockerd $OPTIONS $DOCKER_STORAGE_OPTIONS (code=exited, status=2)
Main PID: 3601344 (code=exited, status=2)
Jul 07 10:12:43 systemd[1]: docker.service: Failed with result 'exit-code'.
Jul 07 10:12:43 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
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
Tried to uninstall docker-ce and install it but that also did not help. For now we downgraded the servers that are affected to 24.0.2 and it works fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels