kaweezle / alpine-boxes

Alpine Linux based container images and root filesystems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alpine-boxes

stability-experimental

This repository contains the files and build tools to build Alpine Linux based OCI images, WSL and LXC root file systems and VM images.

The base build system used is docker buildx. It offers several advantages over other systems (see alternatives):

  • Layers cache
  • Simple recipe based
  • Multi-architecture (not used right now)
  • Inheritance (FROM ...)
  • Easy efficient online storage (registry)

Why Alpine Linux ?

  • Small
  • Used as a base container image for many standard container images.
  • Good community.
  • Contrary to Systemd based systems, Alpine is based on OpenRC that plays well in WSL distributions (see OpenRC Gentoo Documentation).

Making root file systems from docker images

docker buildx has several output types and one of them is tar, which is convenient to produce a root filesystem suitable for import into WSL or LXC.

Making VM images from docker images

An almost bootable docker image can easily been derived from an existing docker image (see this Dockerfile). Then it's just a matter to dump the image filesystem in a locally mounted image file and install a bootloader.

Alternatives

See also

About

Alpine Linux based container images and root filesystems

License:Apache License 2.0


Languages

Language:Shell 95.2%Language:Dockerfile 3.3%Language:PowerShell 1.5%