How to create an Arch Linux singularity image using Docker Bootstrap

Singularity is a container software. It is basically similar to Docker . Arch is a Linux distribution.

Step-by-step guide

Create a myimage.def file:

Bootstrap: docker
From: archlinux:latest
 
%post -xe
    pacman --noconfirm -Syu

–noconfirm is necessary, otherwise building the image fails.

Build the image with sudo singularity build myimage.sif myimage.def.

See also