Which Linux Distro Should I Choose for Running Docker Containers?

0
22
Asked By TechGuru92 On

As a retiree with 30 years of experience as a systems administrator, I'm evaluating the best Linux distro for personal use, especially since some applications I need to run are only available as Docker images. My go-to distro has always been Fedora, but I've faced challenges with running containers on it, aside from a few successes like Hello World, Portainer, and Bitwarden. I noticed many available Fedora images on Docker Hub are quite outdated, and I've encountered various issues like generic error messages and problems with self-signed certificates. I suspect that many images are actually optimized for Ubuntu, and the library names differ across distros. Now, I'm looking to set up a distro on an old Windows 10 laptop that my wife used, as we are transitioning to a Windows-free home. While I'm leaning towards Ubuntu, I wanted to reach out for some recommendations. What would you suggest?

1 Answer

Answered By CodeMaster76 On

When it comes to running Docker, the base image doesn't have to match your host distro. Containers rely mainly on the Linux kernel, and all needed libraries are usually packed within the container itself. If you're facing issues with certificates, containers typically allow configuration through environment variables or volume mounts. Don't worry too much about not using a distro-specific image; what's important is having Docker set up correctly!

CuriousDev01 -

That makes sense! But I've encountered containers that required an outdated version of a library that's not included in the image, which raises questions about how self-contained they really are.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.