Fedora images capable to use systemd, with ansible and ansible testing tools pre-installed.
488
NOTE: This image is now DEPRECATED: Use:
This Dockerfile builds a Fedora 33 based container, capable to use systemd, with Ansible and Ansible
testing tools pre-installed.
Each branch of this repository represents a Fedora version, with the master branch representing the
latest version. Pull the branch (version) you are interested in.
| Branch | Distribution version | Image tag |
|---|---|---|
| master | 33 | latest,33 |
| 32 | 32 | 32 |
| 31 | 31 | 31 [deprecated] |
| 30 | 30 | 30 [deprecated] |
git clone https://github.com/chzerv/docker-fedora-ansible.git.cd into the directory and run docker build -t fedora33-ansible .Pull this image from Docker hub: docker pull chzerv/docker-fedora-ansible:latest (or use the
image you built locally).
Run a container:
docker run -d --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro docker-fedora-ansible:latest
Run Ansible inside that container:
docker exec -it $container_id ansible --version
This image is used for testing Ansible roles and playbooks locally and/or in CI, hence, security is not a concern. It is not intended or recommended to use this image in production environments.
Content type
Image
Digest
Size
166.8 MB
Last updated
over 5 years ago
docker pull chzerv/docker-fedora-ansible