Git Product home page Git Product logo

docker-archlinux's Introduction

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

docker-archlinux's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.