Comment on Selfhosting as a Linux newbie - Ubuntu Server LTS or Debian 13?
steel_for_humans@piefed.social 2 weeks agoSo the trick is to keep the OS minimal, install only Docker from its repo and install anything else in Docker containers.
Why from Docker’s repo and not from Debian’s? I just did a quick apt search docker and I see docker.io and docker-cli.
lemmyvore@feddit.nl 2 weeks ago
Debian’s versions lag badly behind Docker’s. You’d always be missing the latest features. Docker introduces them at a steady pace and it can get annoying to see people talking about a new useful improvement and then months passing before it gets to you.
steel_for_humans@piefed.social 2 weeks ago
Maybe I don’t need the new features :)
lemmyvore@feddit.nl 2 weeks ago
You say that but sometimes they come up with stuff that’s really useful and it can be very annoying to not have it. Like when they integrated compose into the main.
Also, if you later decide to switch to the official version you’ll have to handle the upgrade carefully or you risk wiping out all your images, containers, networks, volumes etc. Which can be fine if you have backups of all the relevant functional definitions and the volumes and so on, but obviously a huge pain if it catches you unprepared.
Mind you, this can also happen by tinkering with stuff in
/etc/docker/daemon.json, which is how I originally learned to back up my shit.steel_for_humans@piefed.social 2 weeks ago
Ok, I will keep that in mind. I’m just wary of what you said earlier:
You’re not the first person to tell me not to add too many external repositories on Debian for the same reason.