this post was submitted on 25 Jul 2023
77 points (94.3% liked)
Linux
48214 readers
839 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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