*** This bug is a duplicate of bug 1870514 *** https://bugs.launchpad.net/bugs/1870514
As a workaround I opted for using a systemd unit file to create a loose dependency between containerd and dockerd. Here's how: As root: Make the override directory (permission 755) mkdir /etc/systemd/system/containerd.service.d/ Create the override file in the above directory (permissions 644) vi override.conf Add the following to the file [Unit] Before=docker.service Wants=docker.service Restart systemd daemon systemctl daemon-reload Check it works Stop containerd systemctl stop containerd Check dockerd has stopped systemctl status docker Start containerd systemctl start containerd Check dockerd has started systemctl status docker ++++++++++++++++++++++++++ Some links to other documentation on the subject https://www.shellhacks.com/systemd-service-file-example/ https://man7.org/linux/man-pages/man5/systemd.service.5.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1870876 Title: docker stopped when containerd updated Status in unattended-upgrades package in Ubuntu: Confirmed Bug description: When containerd was updated in my bionic instance it stopped docker then stopped containerd. When it was done updating containerd it brought it back online. docker stayed stopped. 2020-04-03 06:20:32,973 INFO Packages that will be upgraded: apport containerd python3-apport python3-problem-report An eoan installation that didn't have this problem had this line: 2020-04-03 06:06:01,612 INFO Packages that will be upgraded: apport python3-apport python3-problem-report So the main difference is that containerd was updated. At the end of this systemctl --all reported docker as: docker.service loaded inactive dead and containerd as: containerd.service loaded active running Description: Ubuntu 18.04.4 LTS Release: 18.04 unattended-upgrades: Installed: 1.1ubuntu1.18.04.14 Candidate: 1.1ubuntu1.18.04.14 Version table: *** 1.1ubuntu1.18.04.14 500 500 http://us-central1.gce.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.1ubuntu1 500 500 http://us-central1.gce.archive.ubuntu.com/ubuntu bionic/main amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1870876/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp