I’ve come across Red Hat allot lately and am wondering if I need to get studying. I’m an avid Ubuntu server user but don’t want to get stuck only knowing one distro. What is the way to go if i want to know as much as I can for use in real world situations.
I think Ubuntu is the most popular distro in the cloud, at least based on cloud provider metrics. Dockerhub shows like 30 million downloads a week for it regularly, which is a lot compared to most images. Debian would be good to learn as that’s what Ubuntu is based on and all the major software with will probably target it. Alpine is good to learn as it’s super slim, tends to be used for containers a lot.
I don’t use Linux at work (I wish I did), but I default to Ubuntu Server for at-home Docker needs. I might switch to plain Debian at some point.
I recently finished reading a good docker book. They explained why alpine is so great to use: its like 16 MBs or something. I deployed a Minecraft server with it just for fun. Pretty cool. Shrunk the image a good 15 percent from a debian version I believe. Check it out if you want. Have a good one.
Thanks, I’ll check it out! I honestly run into disk space issues with Ubuntu Server a lot. I’ll give it a partition and it will fill up with this opaque “ubuntu–vg-ubuntu–lv” volume pretty quickly.
Here’s a
df -h
on it right now:/dev/mapper/ubuntu--vg-ubuntu--lv 38G 17G 20G 47% /
Need to manually prune Docker and run other admin tasks to keep it under control.
This sounds like an automation opportunity. If docker starts to fill up, I assume you pull or build a lot of images. If the reason is rooted in software development, you might wanna look at ci/cd. If not, I suggest going through your process and maybe changing the routine. Like run with a -rm command. Thats what I do when I test stuff. The container gets removed immediately after stopping. There are many neat tricks. Hit me up if you need more info.
You’re absolutly right, but this is about host os, not container os