Hey folks, I'm really struggling to get Docker working on my home server after switching back to Ubuntu server. I've used Docker successfully in the past, but ever since I reinstalled Ubuntu in a VM on Proxmox, I can't seem to get it to run. I tried running 'sudo apt install docker' like I did before, but it says the package isn't found. I even looked up the installation steps on the Docker website and attempted to install Docker Desktop, but I ran into a bunch of errors including issues with permissions and compatibility. I'm getting really frustrated since I had it working just days ago! Any tips or insights would be hugely appreciated!
1 Answer
So, Docker's usually meant to run containers directly from images needing a Linux kernel. If you're on Linux, you shouldn’t need Docker Desktop at all; just go with Docker Engine. Installing Docker through snap can cause problems, and it's better to follow the official steps for your specific distro. Try installing Docker Engine directly instead of Docker Desktop—should simplify things. Also, don’t forget to make sure your VM configuration is set up correctly for performance.
That makes sense, thanks for the explanation. That's pretty annoying that the installation guide pushes Docker Desktop when it's not really the best option. I'll give it a try with just the engine, which is all I was wanting anyway!