Alpine Linux

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Alpine Linux
Alpine Linux.svg
DeveloperAlpine Linux development team
OS familyLinux (Unix-like)
Working stateActive
Source modelOpen source
Initial releaseAugust 2005; 16 years ago (2005-08)[1]
Latest release3.15.0 / 24 November 2021; 3 days ago (2021-11-24)[2]
Marketing targetDevelopers, power users
Available inMultilingual
Package managerAPK
Platformsx86, x86-64, ARMhf, ARMv7 AArch64, ppc64le, s390x
Kernel typeMonolithic (Linux)
UserlandBusyBox (GNU Core Utilities are optional)
user interface
Command-line interface

Alpine Linux is a Linux distribution based on musl and BusyBox, designed for security, simplicity, and resource efficiency.[3][4][5][6][7] It uses OpenRC for its init system and compiles all user-space binaries as position-independent executables with stack-smashing protection.[8]

Because of its small size, it is commonly used in containers providing quick boot-up times.[9]


Originally, Alpine Linux began as a fork of the LEAF Project.[1] The members of LEAF wanted to continue making a Linux distribution that could fit on a single floppy disk, whereas the Alpine Linux wished to include some more heavyweight packages: Squid and Samba. They also added security features and a newer kernel.


Alpine uses its own package-management system, apk-tools,[10] which originally was a collection of shell scripts[11] but was later rewritten in C.[12] Alpine currently contains most commonly used packages such as GNOME, Xfce, Firefox, and others.

Alpine Linux can be installed as a run-from-RAM operating system. The LBU (Alpine Local Backup)[13] tool optionally allows all configuration files to be backed up to an APK overlay file (usually shortened to apkovl), a tar.gz file that by default stores a copy of all changed files in /etc (with the option to add more directories). This allows Alpine to work reliably in demanding embedded environments or to (temporarily) survive partial disk failures as sometimes experienced in public cloud environments.

A hardened kernel was included in the default distribution for up to and including Alpine 3.7, which aids in reducing the impact of exploits and vulnerabilities. All packages are also compiled with stack-smashing protection to help mitigate the effects of userland buffer overflows.

By default, it includes patches that allow using efficient meshed VPNs using the DMVPN standard.

It has reliably had excellent support of Xen hypervisors in up-to-date versions, which avoids issues as experienced with Enterprise Distributions. (The standard Linux hypervisor KVM, is also available.)

It allows very small Linux containers, around 8 MB in size, while a minimal installation to disk might be around 130 MB.[8]

Alpine Configuration Framework (ACF): While optional, ACF is an application for configuring an Alpine Linux machine, with goals similar to Debian's debconf. It is a standard framework based on simple Lua scripts.[14]

It previously used uClibc as its C standard library instead of the traditional GNU C Library (glibc) most commonly used. Although it is more lightweight, it does have the significant drawback of being binary incompatible with glibc. Thus, all software must be compiled for use with uClibc to work properly. As of 9 April 2014,[15] Alpine Linux switched to musl, which is partially binary compatible with glibc.[16]

The lightweight OpenRC is the init system currently used by Alpine Linux.[17] Unlike many distributions, Alpine does not use systemd.


  1. ^ a b "linux.leaf.devel - Re: [leaf-devel] 2.6.x kernel support? - msg#00039 - Recent Discussion". Archived from the original on 14 May 2016.
  2. ^ "Alpine Linux 3.15.0 Released". alpine/announce (Mailing list). Retrieved 25 November 2021.
  3. ^ Nuñez, Steven (10 July 2017). "Review: Alpine Linux is made for Docker". InfoWorld.
  4. ^ says, GigaTux (24 August 2010). "Alpine Linux 2 review |".
  5. ^ Security-Oriented Alpine Linux 3.7 Has UEFI Support, GRUB Support in Installer, Softpedia News
  6. ^ 10 Most Secure Linux Distros For Complete Privacy & Anonymity | 2017 Edition, FossBytes
  7. ^ Noyes, Katherine (9 February 2016). "Is Docker ditching Ubuntu Linux? Confusion reigns". Network World.
  8. ^ a b "about | Alpine Linux".
  9. ^ "Meet Alpine Linux, Docker's Distribution of Choice for Containers". 28 March 2017.
  10. ^ "Alpine Linux package management - Alpine Linux".
  11. ^ "apk-tools". SourceForge.
  12. ^ "apk-tools - Alpine package manager".
  13. ^ "Alpine local backup - Alpine Linux".
  14. ^ "Alpine Configuration Framework Design - Alpine Linux".
  15. ^ "Release notes". Retrieved 6 May 2018.
  16. ^ "musl FAQ".
  17. ^ "Alpine Linux Init System - Alpine Linux".

External links[edit]