Skip to content

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.

Notifications You must be signed in to change notification settings

AppJail-makejails/alpine-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpine Linux

Alpine Linux is a Linux distribution designed to be small, simple and secure. Alpine Linux uses musl, BusyBox and OpenRC instead of the more commonly used glibc, GNU Core Utilities and systemd respectively.

wikipedia.org/wiki/Alpine_Linux

alpine linux logo

How to use this Makejail

Alpine Linux is a generic jail, so AppJail does not know which modules to use, so we need to manually load them before creating the jail.

kldload linux linux64 fdescfs tmpfs linprocfs linsysfs pty

Note: Use loader.conf(5) to load them at startup.

Open a shell and run appjail makejail:

appjail makejail -j alpine -f gh+AppJail-makejails/alpine-linux \
    -o template=/usr/local/share/examples/appjail/templates/linux.conf \
    -o alias \
    -o virtualnet=":appjail0 default" \
    -o nat

Tip: Read Alias & Virtual Networks to see how to create the appjail0 interface.

After Makejail builds the jail, you can run Alpine Linux using the alpine_shell custom stage:

appjail run -s alpine_shell alpine

Arguments

  • alpine_linux_tag (default: 3.20.0-x86_64): see #tags.

Tags

Tag Arch Type alpine_linux_major alpine_linux_minor alpine_linux_patch_level alpine_linux_arch
3.20.1-x86_64 amd64 generic 3 20 0 x86\_64

About

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published