this post was submitted on 01 Aug 2025
18 points (95.0% liked)

Linux

56892 readers
692 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Sorry. I know that this or a similar question has been asked many times, and trying to find a decent answer i get redirected to reddit and blocked because of my VPN. I am looking for the preferred version of the above OS's for installing Docker based on easiness and stability/reliability once installed. Is there such a distro as DockerOS or a Distro with Docker preinstalled? I thought I read something like that last year when I was threatening to pull my finger out the first time and get something up and running, but now I am not sure whether or not I have imagined it.

TIA

you are viewing a single comment's thread
view the rest of the comments
[–] LeFantome@programming.dev 20 points 1 day ago* (last edited 1 day ago) (2 children)

Are you going to dedicate an entire machine to this?

First, you can run Docker on any distro. Although Debian is great, the version of Docker in the repos is not. So, for Debian, you are going to want to download and install Docker from Docker. Docker is a company.

There is also Podman. This is a competitor to Docker written by Red Hat. It has some technical advantages. I use Podman myself. The command line is basically the same. They host the same containers (OCI images).

If you are going to run a lot of images on a single machine, management can get complicated. many people like Portainer for that.

https://thenewstack.io/an-introduction-to-portainer-a-gui-for-docker-management/

However, if you are going to dedicate a machine, I recommend Proxmox.

Proxmox takes over the hardware. It runs a hypervisor that lets you deploy virtual machines and containers easily. It gives you a great web-based UI to manage everything. Technically, it runs on Debian but you do not even need to know that. It deploys as on OS.

Proxmox actually has nothing to do with Docker. It allows you to deploy virtual machines (eg. Full Linux distributions or even Windows or other operating systems). It also allows you to create containers. However the contained technology is not Docker but actually LXC.

https://linuxcontainers.org/

When you deploy an LXC container in Proxmox, it is like launching a Linux VM. You get a full Linux distro that looks like a virtual machine and that shows up on your network like a full computer. But, it shares the kernel with Proxmox and so is incredibly light and resource efficient.

You can connect to Proxmox via a web browser and see any of your virtual machine or container desktops in your web browser (even if just command line).

Proxmox itself is always online. But you can start and stop individual machines (vm or container) whenever you want.

You really cannot appreciate how powerful all this is until you try it.

So, how does this help you run Docker?

Well, for many things, you may actually find it easier to just use a VM or LXC to install and run whatever it is you want. For many applications, I find it easier to manage a Linux distro than a Docker container.

Or, you create a VM or an LXC and run Docker inside of it. You can even run Portainer. You can run many Docker containers in a single VM. Or, create a new VM or LXC if that makes things easier.

But it is so much easier to manage in Proxmox.

For example, I run a Debian LXC container to run PiHole as an ad blocker on my network. It is super lightweight and I launched it by running a script like they suggest on the PiHole website. And I created a VM (with its own virtual disk for storage) to run Immich (photo management). Even though I run Immich with Docker compose, it is just nicer and easier to manage when it is the only thing running on the “machine” (a QEMU VM in Proxmox) with its own filesystem. I can pull up the Immich machine whenever I want and I am at the command-line where the last command was the the Docker up that I ran months ago). Same story for Jellyfin.

Do you also want a NAS? You can run one under Proxmox. But another thing to consider would be running TrueNAS as a NAS and using its built-in Docker support to run your containers.

https://www.truenas.com/truenas-community-edition/

[–] Babalugats@lemmy.world 2 points 1 day ago (1 children)

Thank you for a great, detailed answer. Proxmox it is so. I was going with NixOS and definitely going to try Podman as I've been reading all about that while downloading and copying the Isos. I will be dedicating an entire machine and if I don't do it today, I fear it will be another year before I come back to it. 🥴 I'm going to start it now . Thanks again.

[–] Amaterasu@lemmy.world 2 points 1 day ago (1 children)

If it is a little home server Proxmox is difficult to beat.

[–] Babalugats@lemmy.world 1 points 1 day ago

Yep, that's the plan. Still didn't get around to it today. My "free" day and I've not sat down other than the few minutes earlier to write the OP and look at some of the replies l. Hopefully I'll have a few hours to myself after dinner.

[–] async_amuro@lemmy.zip 1 points 1 day ago

This is how I handle my server, I have an older Mac Mini with a SSD and 16GB of RAM running Proxmox. I’ve got a Debian VM for Docker stuff (all pretty lightweight containers right now), a VM with Debian for a remote VS Code environment and LXC’s for Plex and PiHole. I also wanted to learn about NixOS, so I fired up a VM and installed it to test it out. I will say, I want to learn more NixOS… that’s not an easy or simple solution! Awesome OS and I love the concept, but you really have to be dedicated to learn the syntax and maintain it!