![]() ![]() Here's what it displays for Alpine Linux server running on Linode infrastructure. You can use cat command to view the content of the file in Linux terminal: cat /etc/os-release It gives you the distribution name, distribution version, release name or ID. ![]() The os-release file in the /etc directory keeps the information about the Linux distribution. If you are familiar with the Linux directory structure, you probably already know that /etc directory contains the core configuration files of the system. Find Linux distribution details Method 1: Use /etc/os-release file In this beginner's tip, I'll show you different ways to check which Linux you are running. However, that's not the only way to know the Linux distribution details. It will show an output similar to this: NAME="Ubuntu"Īs you can see, the Linux name is Ubuntu and the version is 20.04.1. The simplest way to check Linux version is to see the content of the /etc/os-release file: cat /etc/os-release You also learn how much of the desktop (and non-desktop) apps actually require systemd to run at all, and how people have had to come up with fake systemd components.When you install a Linux distribution on your own, you know which distribution and version it is.īut if you use SSH to log in to a remote Linux server provided by an enterprise or client, you may wonder which Linux distribution and version it is. You really learn how much of a nightmare the Linux desktop today is. I've gotten 1Password to work in Docker after over a week of futzing around. Electron apps in general are a huge pain. Some apps on Flatpak don't really work, like Slack (maybe it's possible to get it to work, but after a few days I gave up). You end up using Flatpak for any proprietary apps once dealing with glibc compatibility problems becomes too annoying. But overall it's quite usable, and very fast. There are also bugs in things like Bluetooth support and some other things. Some trouble at the moment is figuring out all the packages you need to install (and how to configure them) to get an actual working desktop as you'd expect it. It still has a ways to go in terms of being as user-friendly as Slackware, but it's getting there. You can of course use Alpine for containers, but there are some maintenance/development costs that come as well, so I only recommend Alpine if you really need to save space. > If someone is isn't distro aficionado and is utilizing "mainstream" docker images, what's the recommendation?įor non-container stuff, CentOS is the "enterprisey" distro that's safest in case you one day have to support an app that only supports RHEL (and it's the base for Amazon Linux, in case you use AWS).įor container stuff, it's a toss-up between Ubuntu and Debian I'd use Ubuntu for developer-oriented stuff, and Debian for anything else. Since it's supported, other people will be fixing bugs and upgrading things so you don't have to. If there's an "official" Redis container, use that, regardless of the base image. Not sure if you're trying to make your own containers or not, but stick to the stock Docker Hub containers as much as possible. > just recently have been spinning up some linux containers (redis, rabbitmq) I'm finding it hard to reconcile "Some of the software has secondary alpine images available" with "Almost all software uses alpine images"įor professional use, our company mandates all images used are built off a common base image, which is Ubuntu based (my previous employer was similar, but used a Red Hat based image). ): Debian (with alpine alternate available) Jellyfin (Developer provided - ): They use an alpine build step but the final distributed image is debianĬalibre-Web (Linuxserver provided. Postgres (Docker provided - ): Debian (with alternates for alpine or other debian versions) So I surveyed docker images in my personal use: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |