Fedora docker container with built-in Ansible for playbook and role testing
Keep all version in one repository under different tags
35
. Fedora 3536
. Fedora 3637
. Fedora 3738
. Fedora 3839
. Fedora 3940
. Fedora 40
linux/amd64
linux/arm64
linux/ppc64le
linux/s390x
To build the image on your own locally, do the following:
- Install Docker.
cd
into target directory. For example, target directory forFedora 40
isfedora40
- Run
docker build -t docker-fedora-ansible .
.
- Install Docker.
- Pull pre-build image via
docker image pull kirillzak/docker-fedora-ansible:latest
or build image. - Run a container from the image:
docker run --detach --privileged --volume /sys/fs/cgroup:/sys/fs/cgroup:ro docker-fedora-ansible:latest
Thanks for Jeff Geerling
Based on: