Skip to content

terencewestphal/docker-archlinux

Repository files navigation

Docker Build Statu Docker Stars Docker Pulls

Docker - Arch Linux

Minecraft

Features

  • Build with the latest version of Arch Linux Bootstrap.
  • Bootstrap archive and signature from https://archive.archlinux.org
  • Supported architecture: x86_64

Requirements

  • Docker 17.05 or higher (for multi-stage builds)

Pull

Get the latest version:

docker pull terencewestphal/archlinux:latest

Get a specific version:

docker pull terencewestphal/archlinux:<YYYY.MM.DD>

Build

Modify and build the container image from source:

git clone https://github.com/terencewestphal/docker-archlinux.git
cd docker-archlinux
docker build -t archlinux:<tag> .

Usage

Systemd

Run in detached mode:

docker run --rm \
           --detach \
           --tmpfs /tmp \
           --tmpfs /run \
           --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
           --cap-add SYS_ADMIN \
           --security-opt=seccomp:unconfined \
           --hostname archlinux.io \
           --name archlinux \
           terencewestphal/archlinux:latest
Usage:	docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Options:
    --rm                 Automatically remove the container when it exits
-d, --detach             Run container in background and print container ID
    --tmpfs list         Mount a tmpfs directory
-v, --volume list        Bind mount a volume
    --cap-add list       Add Linux capabilities
    --security-opt list  Security Options
-h, --hostname string    Container host name
    --name string        Assign a name to the container

Enter container:

docker exec --tty --interactive archlinux zsh
Usage:	docker exec [OPTIONS] CONTAINER COMMAND [ARG...]

Options:
-t, --tty                Allocate a pseudo-TTY
-i, --interactive        Keep STDIN open even if not attached

About

Arch Linux Bootstrap Docker Image (with systemd support)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages