Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Latest commit

 

History

History
39 lines (27 loc) · 1.48 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.48 KB

Archlinux Image for Ansible Testing

NOTE: This image is now DEPRECATED: Use:

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

Branch Distribution version Image tag
master latest latest

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