> A workaround for this seems to be to use the docker snap package.
Use caution here. Snap tends to upgrade/restart things on its own schedule, so you might run into the same issue.
I use Apt's pinning feature to pin the Docker version on production hosts:
``` /etc/apt/preferences.d# cat docker.pref Explanation: docker: docker Package: docker Pin: version x:yz-ubuntu-bionic Pin-Priority: 1001 /etc/apt/preferences.d# ```
> A workaround for this seems to be to use the docker snap package.
Use caution here. Snap tends to upgrade/restart things on its own schedule, so you might run into the same issue.
I use Apt's pinning feature to pin the Docker version on production hosts:
``` preferences. d# cat docker.pref preferences. d#
/etc/apt/
Explanation: docker: docker
Package: docker
Pin: version x:yz-ubuntu-bionic
Pin-Priority: 1001
/etc/apt/
```