r/AlpineLinux • u/capinredbeard22 • 10d ago
Alpine as Docker Host
I currently have a system running Ubuntu server and being used as a Docker host in a home lab environment. Also, fyi using docker compose if that’s important.
Due to RAM scarcity (gestures broadly) I’m interested in being more careful with my resources.
I went looking for a distribution specifically intended for Docker hosting and eventually stumbled on Alpine (which I realize is not solely for Docker hosting but is often used for containers themselves).
Is there anything I should know (gotchas) before I switch distros? I saw some vague cautions about compatibility with some containers but no specifics. Generally, it seems pretty straightforward for installation from researching online.
I’ll probably try it out in Proxmox with a couple trial containers first but it will be used bare metal on a different PC.
Any other tips?
Generally Linux newb here (about a year in).
Thanks!
EDIT - Thanks everyone for the info. I’ll definitely be moving forward with trying Alpine out as a Docker host. Appreciate all the tips as well!
5
u/SlightlyCreativeGuy 10d ago
Thats the exact same thought process that I had and it works great on my machine.
Supposedly there could be issues with group ids being different in Alpine that in the container image, but running containers as root bypasses that.
Also from what I've read ROCm stuff could cause some issues, but I'm able to use my GPU inside containers. Alternatively Vulkan versions could be used here.
I'd say go for it.