Hey everyone! So, I finally took the plunge and upgraded my Ubuntu after five years. There were definitely some bumps along the way, especially with fixing the packages I may have unintentionally removed. But the good news is that my Docker and images were initially working fine. However, after checking for updates, I started encountering numerous errors related to 'ContainerConfig' for various containers like recyclarr, tautulli, music-assistant-server, and more. I've included a traceback detailing the errors for anyone who might know where to start troubleshooting. Any help would be greatly appreciated! Cheers, Vic.
3 Answers
You might want to try uninstalling Docker completely and then reinstalling it. Sometimes, upgrades can really mess with existing installations. Just a tip, keep an eye on the logs if any errors pop up during installation. Good luck!
Here's a Docker install script that might help you. Remember, it's now 'docker compose' instead of 'docker-compose'. Also, make sure the image you're trying to pull is still available on Docker Hub. Here's the script:
```sh
sudo apt remove docker docker-engine docker.io containerd runc -y;
sudo apt update;
sudo apt install ca-certificates curl gnupg -y;
sudo install -m 0755 -d /etc/apt/keyrings;
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg;
sudo chmod a+r /etc/apt/keyrings/docker.gpg;
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null;
sudo apt update;
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y;
sudo groupadd docker;
sudo usermod -aG docker $USER;
```
Hope this gets you back on track!
Just to clarify, are you using the official Docker CLI from the repository instead of the snap version? It could make a difference in how it interacts with Ubuntu after an upgrade.
Yep, I checked and I'm definitely using the official Docker CLI, not the snap version. Thanks for double-checking!