My docker installation when I tried to update the docker manager via web-ui. I know my docker installation is broken because I followed sam’s recommendation and got this:
$ docker run -it --rm hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world 1b930d010525: Pull complete Digest: sha256:9572f7cdcee8591948c2963463447a53466950b3fc15a247fcad1917ca215a2f Status: Downloaded newer image for hello-world:latest docker: Error response from daemon: no status provided on response: unknown. ERRO error waiting for container: context canceled
I then found this Github issue which seems to match what I’m seeing:
Since I’m on Ubuntu 16.04, it looks like this is the solultion:
- Add a deb repo:
sudo add-apt-repository 'deb http://security.ubuntu.com/ubuntu xenial-security main universe'
- Install runc (note the
~s, github messed them up in @vietthang207 's original post):
sudo apt-get install runc=1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4
- Installing runc causes docker-ce to be removed, hence reinstall it:
sudo apt-get install docker-ce
Could someone confirm that it is save to do this or what the consequences will be? I’m a bit scared that it will uninstall docker. I suppose that means my site will be down during the process (strangely enough, it is currently still up and running, despite docker being broken). But is my discourse installation safe or will my containers also disappear?
Edit: This is how far I have dared to go:
$ sudo apt-get install runc=1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4 [sudo] password for christoph: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: aufs-tools cgroupfs-mount docker-ce-cli libltdl7 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: containerd.io docker-ce The following NEW packages will be installed: runc 0 upgraded, 1 newly installed, 2 to remove and 21 not upgraded. 1 not fully installed or removed. Need to get 1,890 kB of archives. After this operation, 192 MB disk space will be freed. Do you want to continue? [Y/n] n Abort. $