Open maxfield-allison opened 2 years ago
$ journalctl -xeu docker.service
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Aug 26 10:23:26 Server-01 systemd[1]: Stopped Docker Application Container Engine.
░░ Subject: A stop job for unit docker.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit docker.service has finished.
░░
░░ The job identifier is 87213 and the job result is done.
Aug 26 10:23:26 Server-01 systemd[1]: docker.service: Start request repeated too quickly.
Aug 26 10:23:26 Server-01 systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Aug 26 10:23:26 Server-01 systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 87213 and the job result is failed.
$ systemctl status docker.service
× 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
└─override.conf
Active: failed (Result: exit-code) since Fri 2022-08-26 10:23:26 CDT; 1min 26s ago
TriggeredBy: × docker.socket
Docs: https://docs.docker.com
Process: 585451 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 585451 (code=exited, status=1/FAILURE)
Aug 26 10:23:26 Server-01 systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
Aug 26 10:23:26 Server-01 systemd[1]: Stopped Docker Application Container Engine.
Aug 26 10:23:26 Server-01 systemd[1]: docker.service: Start request repeated too quickly.
Aug 26 10:23:26 Server-01 systemd[1]: docker.service: Failed with result 'exit-code'.
Aug 26 10:23:26 Server-01 systemd[1]: Failed to start Docker Application Container Engine.
disabling and stopping docker allowed the utility to continue.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
dh-elpa-helper elpa-dash elpa-ghub elpa-git-commit elpa-let-alist elpa-magit
elpa-magit-popup elpa-magit-section elpa-transient elpa-treepy
elpa-with-editor emacs emacs-bin-common emacs-common emacs-el emacs-gtk
gcc-10-base gcc-10-base:i386 gjs libaom0 libboost-date-time1.71.0
libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0
libbrlapi0.7 libcbor0.6 libcdio18 libcodec2-0.9 libdvdread7
libextutils-pkgconfig-perl libf2fs-format4 libf2fs5 libffi7:i386
libfluidsynth2 libfuture-perl libgdk-pixbuf-xlib-2.0-0:i386
libgdk-pixbuf2.0-0:i386 libgpaste11 libhandy-0.0-0 libhogweed5:i386
libicu66:i386 libigdgmm11 libio-async-loop-epoll-perl libio-async-perl
libjson-c4 liblinux-epoll-perl liblivemedia77 libm17n-0 libmetrics-any-perl
libmozjs-68-0 libnettle7:i386 liborcus-0.15-0 libotf0 libotf1
libpanel-applet3 libplacebo7 libpoppler97 libprotobuf-lite17 libqpdf26
libraw19 libre2-5 libsrt1 libssl1.1:i386 libstruct-dumb-perl
libtest-metrics-any-perl libtype-tiny-perl libusrsctp1 libvirglrenderer1
libvpx6 libwebp6:i386 libx264-155 libx265-179 libxml-writer-perl libyara3
libzip5 linux-headers-5.4.0-124 linux-headers-5.4.0-124-generic
linux-headers-5.4.0-125 linux-headers-5.4.0-125-generic
linux-hwe-5.15-headers-5.15.0-43 linux-hwe-5.15-headers-5.15.0-46
linux-image-5.4.0-124-generic linux-image-5.4.0-125-generic
linux-modules-5.4.0-124-generic linux-modules-5.4.0-125-generic
linux-modules-extra-5.4.0-124-generic linux-modules-extra-5.4.0-125-generic
lz4 m17n-db mint-backgrounds-una php-common php-composer-ca-bundle
php-composer-pcre php-composer-semver php-composer-spdx-licenses
php-composer-xdebug-handler php-intl php-mbstring php-psr-container
php-psr-log php-symfony-console php-symfony-deprecation-contracts
php-symfony-filesystem php-symfony-finder php-symfony-polyfill-php80
php-symfony-process php-symfony-service-contracts php-symfony-string
php8.1-common php8.1-intl php8.1-mbstring python3-entrypoints
python3-simplejson python3-sip
Use 'sudo apt autoremove' to remove them.
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.
Setting up docker-ce (5:20.10.17~3-0~ubuntu-jammy) ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" 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
`-override.conf
Active: activating (auto-restart) (Result: exit-code) since Fri 2022-08-26 10:23:21 CDT; 7ms ago
TriggeredBy: * docker.socket
Docs: https://docs.docker.com
Process: 585340 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 585340 (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
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error - Return code: 100
Running check 'Upgrade phase'
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get upgrade -fyq -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-overwrite"
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
dh-elpa-helper elpa-dash elpa-ghub elpa-git-commit elpa-let-alist elpa-magit
elpa-magit-popup elpa-magit-section elpa-transient elpa-treepy
elpa-with-editor emacs emacs-bin-common emacs-common emacs-el emacs-gtk
gcc-10-base gcc-10-base:i386 gjs libaom0 libboost-date-time1.71.0
libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0
libbrlapi0.7 libcbor0.6 libcdio18 libcodec2-0.9 libdvdread7
libextutils-pkgconfig-perl libf2fs-format4 libf2fs5 libffi7:i386
libfluidsynth2 libfuture-perl libgdk-pixbuf-xlib-2.0-0:i386
libgdk-pixbuf2.0-0:i386 libgpaste11 libhandy-0.0-0 libhogweed5:i386
libicu66:i386 libigdgmm11 libio-async-loop-epoll-perl libio-async-perl
libjson-c4 liblinux-epoll-perl liblivemedia77 libm17n-0 libmetrics-any-perl
libmozjs-68-0 libnettle7:i386 liborcus-0.15-0 libotf0 libotf1
libpanel-applet3 libplacebo7 libpoppler97 libprotobuf-lite17 libqpdf26
libraw19 libre2-5 libsrt1 libssl1.1:i386 libstruct-dumb-perl
libtest-metrics-any-perl libtype-tiny-perl libusrsctp1 libvirglrenderer1
libvpx6 libwebp6:i386 libx264-155 libx265-179 libxml-writer-perl libyara3
libzip5 linux-headers-5.4.0-124 linux-headers-5.4.0-124-generic
linux-headers-5.4.0-125 linux-headers-5.4.0-125-generic
linux-hwe-5.15-headers-5.15.0-43 linux-hwe-5.15-headers-5.15.0-46
linux-image-5.4.0-124-generic linux-image-5.4.0-125-generic
linux-modules-5.4.0-124-generic linux-modules-5.4.0-125-generic
linux-modules-extra-5.4.0-124-generic linux-modules-extra-5.4.0-125-generic
lz4 m17n-db mint-backgrounds-una php-common php-composer-ca-bundle
php-composer-pcre php-composer-semver php-composer-spdx-licenses
php-composer-xdebug-handler php-intl php-mbstring php-psr-container
php-psr-log php-symfony-console php-symfony-deprecation-contracts
php-symfony-filesystem php-symfony-finder php-symfony-polyfill-php80
php-symfony-process php-symfony-service-contracts php-symfony-string
php8.1-common php8.1-intl php8.1-mbstring python3-entrypoints
python3-simplejson python3-sip
Use 'sudo apt autoremove' to remove them.
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.
Setting up docker-ce (5:20.10.17~3-0~ubuntu-jammy) ...
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get dist-upgrade -fyq -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-overwrite"
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
dh-elpa-helper elpa-dash elpa-ghub elpa-git-commit elpa-let-alist elpa-magit
elpa-magit-popup elpa-magit-section elpa-transient elpa-treepy
elpa-with-editor emacs emacs-bin-common emacs-common emacs-el emacs-gtk
gcc-10-base gcc-10-base:i386 gjs libaom0 libboost-date-time1.71.0
libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0
libbrlapi0.7 libcbor0.6 libcdio18 libcodec2-0.9 libdvdread7
libextutils-pkgconfig-perl libf2fs-format4 libf2fs5 libffi7:i386
libfluidsynth2 libfuture-perl libgdk-pixbuf-xlib-2.0-0:i386
libgdk-pixbuf2.0-0:i386 libgpaste11 libhandy-0.0-0 libhogweed5:i386
libicu66:i386 libigdgmm11 libio-async-loop-epoll-perl libio-async-perl
libjson-c4 liblinux-epoll-perl liblivemedia77 libm17n-0 libmetrics-any-perl
libmozjs-68-0 libnettle7:i386 liborcus-0.15-0 libotf0 libotf1
libpanel-applet3 libplacebo7 libpoppler97 libprotobuf-lite17 libqpdf26
libraw19 libre2-5 libsrt1 libssl1.1:i386 libstruct-dumb-perl
libtest-metrics-any-perl libtype-tiny-perl libusrsctp1 libvirglrenderer1
libvpx6 libwebp6:i386 libx264-155 libx265-179 libxml-writer-perl libyara3
libzip5 linux-headers-5.4.0-124 linux-headers-5.4.0-124-generic
linux-headers-5.4.0-125 linux-headers-5.4.0-125-generic
linux-hwe-5.15-headers-5.15.0-43 linux-hwe-5.15-headers-5.15.0-46
linux-image-5.4.0-124-generic linux-image-5.4.0-125-generic
linux-modules-5.4.0-124-generic linux-modules-5.4.0-125-generic
linux-modules-extra-5.4.0-124-generic linux-modules-extra-5.4.0-125-generic
lz4 m17n-db mint-backgrounds-una php-common php-composer-ca-bundle
php-composer-pcre php-composer-semver php-composer-spdx-licenses
php-composer-xdebug-handler php-intl php-mbstring php-psr-container
php-psr-log php-symfony-console php-symfony-deprecation-contracts
php-symfony-filesystem php-symfony-finder php-symfony-polyfill-php80
php-symfony-process php-symfony-service-contracts php-symfony-string
php8.1-common php8.1-intl php8.1-mbstring python3-entrypoints
python3-simplejson python3-sip
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Check succeeded: Upgrade phase
Running check 'Foreign packages'
Interesting, I had this problem on one machine, but not on the other one. Don't know where the difference was.
as title says. Had to disable and stop docker or else docker failed with an exit code that it was trying to start again too soon.