This repo was forked from Jeff Geerling's docker-centos8-ansible repository. It was then modified for AlmaLinux 9. This image is serving the same purpose: Ansible playbook and role testing.
-
Clone this repository and change into the directory
-
Build image with one of the following commands
docker build -f ./Containerfile --no-cache -t localhost/docker-almalinux9-ansible:latest .
podman build -f ./Containerfile --no-cache -t localhost/docker-almalinux9-ansible:latest .
- Run the image with one of the following commands
docker run -it --rm -d -v /sys/fs/cgroup:/sys/fs/cgroup:rw --privileged localhost/docker-almalinux9-ansible:latest
podman run -it --rm -d -v /sys/fs/cgroup:/sys/fs/cgroup:rw --privileged localhost/docker-almalinux9-ansible:latest