Ubuntu Ansible Image

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

Source: GitHub repository

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

Run

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

Build locally

git clone https://github.com/kirill-zak/docker-ubuntu-ansible.git
cd docker-ubuntu-ansible/ubuntu26.04
docker build -t docker-ubuntu-ansible:latest .

← Back to Ansible Docker Images