I had this happen last night, I gave up and installed docker-ce from the docker repos. I have been having a lot of problems with the docker snap lately and went searching to see if I was alone and found this.
I’m invoking @tianon, Stormborn of the House Snapcraft, First of His Name, the Unburnt, King of the Andals and the First Men, Super User of the Great Grass Sea, Fixer of Bugs, and Father of Snaps.
I do agree problems might be tied to recent package upgrades and not just 20.04, I just apt upgraded my 18.04 droplet and after it rebooted the docker snap was fubar there as well.
I am seeing these errors too on all container runs. I am running Ubuntu 20.04. Earlier today I was running fine and then applied the latest 20.04 update (the auto-updater ran so snap packages were updated too; additionally I ran sudo apt upgrade) and docker snap is not longer working. I have tried the stable and beta snap channels and am getting the same errors on both channels.
There seems to be an issue with the docker snap and linux kernel package 5.4.0-31-generic. I rolled back all my updates and that did nothing. Then I booted into Ubuntu with kernel 5.4.0-29-generic and the docker snap is working again.
Note, it looks like the very last log message in the paste was truncated. Here is a summary of the paste:
This is “just noise”. Docker is running a ‘ps’ and not able to get information on some snaps that are installed on the system (that docker almost certainly doesn’t care about).
This is perhaps interesting, but I don’t know why a kernel upgrade would cause this.
FWIW I have seen this with the docker snap for many releases also in older releases such as disco, etc. It’s unclear what docker is trying to do here but it’s harmless afaict.
Same for me with the error bellow on docker logs execlineb: fatal: unable to open /init for reading: Permission denied snap 2.44.3+20.04 snapd 2.44.3+20.04 series 16 ubuntu 20.04 kernel 5.4.0-31-generic
OS: Ubuntu Server 20.04 LTS x86_64