Closed geissonator closed 2 years ago
This sounds vaguely familiar, like we ran into this before on the fb Jenkins instances...
I think there was an update to the runc
package needed in order to get newer Ubuntu images running on certain versions of docker. Can you get the docker-runc --version
?
Ahh, good point, that's bringing back some memories. It seems on more recent releases they dropped the docker- part and it's just "runc". My working system has this:
$ runc --version
runc version 1.0.1
commit: v1.0.1-0-g4144b63
spec: 1.0.2-dev
go: go1.15.14
libseccomp: 2.5.1
My non-working system doesn't even have it installed. When I do install it I get an older version that doesn't seem to help. I'm working on trying to get the newer one installed but have apparently reached my docker pull limits (even logged in).
https://www.hashbangcode.com/article/permission-denied-error-when-first-running-docker-ubuntu-2004
runc ran into a container / libc fallback vs host kernel issue
This fixed it up for me. I basically had to install the docker-ce version vs. the one that comes with Ubuntu.
# https://stackoverflow.com/questions/45023363/what-is-docker-io-in-relation-to-docker-ce-and-docker-ee
# https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update
sudo apt install docker-ce
I recently got a new Ubuntu 20 system and I can't seem to get build-unit-test-docker to build on this system.
System Info:
I've tried a fresh run of the script on my Ubuntu 18 system without issue so I'm not sure what's going on here. The issue looks like https://forums.docker.com/t/bug-on-apt-install-permission-denied/100196 which only seemed to hit certain machines as well.
I've tried a few things like ensuring all packages are up to date, rebooting the machine, and hacking at the script a bit but so far, no dice.
The non-working system is running Docker version 20.10.8. The working system has 20.10.7 but I don't see any obvious changes in the change log. Downleveling may be the next move though.