• 2 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle






  • IMO, yes. Docker (or at least OCI containers) aren’t going anywhere. Though one big warning to start with, as a sysadmin, you’re going to be absolutely aghast at the security practices that most docker tutorials suggest. Just know that it’s really not that hard to do things right (for the most part[1]).

    I personally suggest using rootless podman with docker-compose via the podman-system-service.

    Podman re-implements the docker cli using the system namespacing (etc.) features directly instead of through a daemon that runs as root. (You can run the docker daemon rootless, but it clearly wasn’t designed for it and it just creates way more headaches.) The Podman System Service re-implements the docker daemon’s UDS API which allows real Docker Compose to run without the docker-daemon.


    1. If anyone can tell me how to set SELinux labels such that both a container and a samba server can have access, I could fix my last remaining major headache. ↩︎








  • That’s not really possible with docker TBH, and I say that as a diehard Podman advocate. Docker, the tooling that you install with your package manager, is open source. Sure they have windows and mac desktop stuff that isn’t open, but it’s not like you’re self-hosting with that, right?

    Plus there’s always Podman to switch to, which can be a (mostly) drop-in replacement, if you want something with a more trustworthy provenience.



  • Yep, I did exactly that. I passed a class because the prof graded on a curve, but if he hadn’t no one would have passed, so I learned nothing. I went and talked to the prof that was teaching it the next semester, just before classes started, and he said it was fine fine to sit in as long as I didn’t come on any of the test days.

    I suggest you go in person to ask, it might be something they’re not supposed to do, so if you ask in some way that leaves a paper trail, they might have to say no just to cover their ass.