Public | Automated Build

Last pushed: 4 hours ago
Short Description
Basic ArchLinux installation
Full Description

Basic arch-installation. Updated daily with travis-ci cronjobs. Gitrepo lives on archimg's Github.

If you've got issues, questions or improvements, please open an issue on the Github Issue tracker.

See base/devel for an image with additional base-devel group.

Docker Pull Command
Source Repository

Comments (33)
5 months ago


I have recently come up with a Dockerfile ( which builds Ach Linux x86_64/i686 image "FROM scratch", using a bootsstrap tarball downloaded from one of the official mirrors (

It's an equivalent to (, but with the advantage of letting you build Arch Linux Docker images on non-Arch Linux hosts, and as non-root.

It works very well as it is, but there are 3 things that I need to sort out yet to make sure I thought about everything. Please chime in on All input is much appreciated. In case you spot an issue, please report it on, or send me a pull request.

6 months ago

pacman -S archlinux-keyring
error: GPGME error: Inappropriate ioctl for device
error: archlinux-keyring: missing required signature
failed to commit transaction (invalid or corrupted package (PGP signature))

7 months ago

Run: pacman -S archlinux-keyring first to update the keyring. Then pacman -Syu will run properly.

Update of the image would be perferable though.

8 months ago

an update is needed, pacman dosen't even works with current build.

a year ago

I've pushed an image that uses official snapshots repositories available at the Arch Linux Archive, built with the official script
Docker Hub/Github
Feel free to build your own base image by cloning that repo and running:

a year ago

To solve the sudo policy plugin error in a PKGBUILD file:

RUN sed -i 's/^(*\s-\snice)/#\1/' /etc/security/limits.conf

a year ago

@vanga update the kernel @ your host. docker is just a sandbox, all containers are using the kernel of the host machine.

a year ago

I had problems using this image, getting the following error during "docker build":

downloading required keys...
:: Import PGP key 2048R/, "Pierre Schmitz", created: 2011-04-10? [Y/n]
error: key "Pierre Schmitz" could not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

I narrowed this down to an out-of-date archlinux-keyring package. Here's what I put in my Dockerfile to solve it, before any other "RUN pacman" lines:

RUN pacman --noconfirm -Sy archlinux-keyring

This refreshes the master package list (-y), then installs the new archlinux-keyring package. Note it is not doing a sysupgrade (-u) in this step; that can happen in a subsequent RUN if desired, e.g.:

RUN pacman --noconfirm -Sy archlinux-keyring
RUN pacman --noconfirm -Su gcc git openssh

a year ago


I see that the kernel version is 3.13.0-48-generic
May I know the reason why its old? Arch community generally uses the latest kernel available afaik.
What do I have to do to update it?


a year ago


Thank you so much I did not know how to debugging sudo command. it was really helpful thank you. it's working now.