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

Archlinux container for Ansible role testing.

Notifications You must be signed in to change notification settings

chzerv/docker-archlinux-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published