Resolving Issues with Docker and Containerd.io
So, not sure if this has been all put into one spot but last month I had issues with my docker. After running the weekly patches upgrading my machines to keep them current, all of a sudden all my dockers began to shut down and was throwing an error stating:
unable to start container process: error during container init: open sysctl net.ipv4.ipunprivilegedport_start file: reopen fd 8: permission denied: unknown
Thanks for the wonderful people over on r/docker, it was discovered that the problem was due to the release of Containerd.io 2.2.0-2. For some reason, this software does not work with the docker. This was discovered a month ago as of this post and there doesn't yet appear to be a fix.
If you are having issues, this is what I did. If you already have the newest version of containerd installed and getting the error, you can run the following:
sudo apt install containerd.io=1.7.28-1~ubuntu.24.04~noble
This will downgrade you back to 1.7.28-1 that works with the docker. Of course, I'm using Ubuntu so if you are not, you'll want to find the correct name for it. After this, put a hold on the containerd until they can fix it. I used the command:
sudo apt-mark hold containerd.io
This way I can keep getting the other updates without having to downgrade this every time.
I hope they figure this out cause I hate being out of date.