Alpine Linux

From Leo's Notes
Revision as of 06:35, 10 December 2020 by Leo (talk | contribs)
This page was last edited on 10 December 2020, at 06:35.

Alpine Linux is a small Linux distribution based on musl libc and busybox. This distribution is ideal for docker images because using Musl + BusyBox:

  1. reduces the size of the OS (lighter libc and a less utility binaries)
  2. reduces the risk of breakage on different hosts with different kernels as things are statically linked.

Package Management

Use the apk utility. Search with apk search and install with apk add.

Lots of firmware installed

Alpine Linux installs a bunch of unnecessary firmware packages. You can remove these by running:

# apk add linux-firmware-none

See Also