Alpine Linux Ansible Image

Alpine Linux based Docker image with Ansible preinstalled for testing playbooks and roles.

Source: GitHub repository

Docker Hub: https://hub.docker.com/r/kirillzak/docker-alpine-ansible

Run

docker pull kirillzak/docker-alpine-ansible:latest
docker run --detach --privileged \
  --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
  --name ansible-alpine \
  kirillzak/docker-alpine-ansible:latest
docker exec ansible-alpine ansible --version

Build locally

git clone https://github.com/kirill-zak/docker-alpine-ansible.git
cd docker-alpine-ansible/alpine3.24
docker build -t docker-alpine-ansible:latest --build-arg ALPINE_VERSION=3.24.4 .

← Back to Ansible Docker Images