containerd / docker.io LP: #1870514

Paride Legovini paride.legovini at canonical.com
Fri Dec 4 14:29:05 UTC 2020


Paride Legovini wrote on 04/12/2020:
> 4. Check `docker ps` again. The container will be DOWN.
>     [Focal and Hirsute behave differently here. In Focal the
>      docker service will be down after the reinstall, in
>      Hirsute it goes down and then back up automatically.
>      This is because the Hirsute package installs
>      /etc/rc?.d/*docker links (!). Investigating.]

The rc?.d files were a leftover from a past docker install (this was on 
my laptop that went through several releases). A *clean* Hirsute install 
behaves just like Focal (= the docker service is stopped after a package 
reinstall). "Good."

These two changes:

https://git.launchpad.net/~paride/ubuntu/+source/docker.io/commit/?h=wants-and-no-stop&id=6ee514e5d842aeb3e7e73d431911888eba20d9b3

https://git.launchpad.net/~paride/ubuntu/+source/docker.io/commit/?h=wants-and-no-stop&id=76e2fc7c50afa78728a3f4d02314701e0a151fd2

fix all the things for me. Build now being published in PPA [1].
Remember that the first time the fixed package is installed docker will 
still do a restart (= containers will go down), as the *old* prerm is 
called. I think we all agree there's not easy workaround for this.

Paride

[1] https://launchpad.net/~paride/+archive/ubuntu/docker-lp1870514



More information about the ubuntu-server mailing list