Sign inSign up

chzerv/docker-archlinux-ansible

By chzerv

•Updated over 5 years ago

Archlinux images capable to use systemd, with ansible and ansible testing tools pre-installed.

Image
1

684

chzerv/docker-archlinux-ansible repository overview

⁠Archlinux Image for Ansible Testing

Build Docker Cloud Build Status

This Dockerfile builds an Archlinux based container, capable to use systemd, with Ansible and Ansible testing tools pre-installed.

⁠Branches/Tags

BranchDistribution versionImage tag
masterlatestlatest

⁠How to build locally

  1. Install Docker⁠ or Podman⁠.
  2. Clone the repository: git clone https://github.com/chzerv/docker-archlinux-ansible.git.
  3. cd into the directory and run docker build -t archlinux-ansible .

⁠How to use

  1. Install Docker⁠ or Podman⁠.

  2. Pull this image from Docker hub: docker pull chzerv/docker-archlinux-ansible:latest (or use the image you built locally).

  3. Run a container:

    docker run -d --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro docker-archlinux-ansible:latest
    
  4. Run Ansible inside that container:

    docker exec -it $container_id ansible --version
    

Tag summary

Content type

Image

Digest

Size

258.6 MB

Last updated

over 5 years ago

docker pull chzerv/docker-archlinux-ansible