Molecule container image with docker and podman support
10K+
Container image with Molecule and Molecule plugins, built on top of gwerlas/ansible:debian.
GitLab Project : yoanncolin/container-images/molecule.
The X.Y.Z tags are immutable ; X.Y, X and latest move to the newest
matching build (scheduled pipelines republish security patch bumps) :
| Version | Tags | Rebuild | Source |
|---|---|---|---|
| 26.8.0 | 26.8.0, 26.8, 26, latest | Weekly | Dockerfile |
| 26.6.0 | 26.6.0, 26.6 | Dockerfile | |
| 26.4.0 | 26.4.0, 26.4 | Dockerfile | |
| 26.3.0 | 26.3.0, 26.3 | Dockerfile | |
| 26.2.0 | 26.2.0, 26.2 | Dockerfile | |
| 25.12.0 | 25.12.0, 25.12, 25 | Dockerfile | |
| 25.11.1 | 25.11.1, 25.11 | Dockerfile | |
| 25.11.0 | 25.11.0 | Dockerfile | |
| 25.9.0 | 25.9.0, 25.9 | Dockerfile | |
| 25.4.0 | 25.4.0, 25.4 | Dockerfile | |
| 25.3.1 | 25.3.1, 25.3 | Dockerfile | |
| 25.2.0 | 25.2.0, 25.2 | Dockerfile | |
| 24.12.0 | 24.12.0, 24.12, 24 | Dockerfile | |
| 24.2.1 | 24.2.1, 24.2 | Dockerfile | |
| 24.2.0 | 24.2.0 | Dockerfile | |
| 6.0.3 | 6.0.3, 6.0, 6 | Dockerfile | |
| 6.0.2 | 6.0.2 | Dockerfile | |
| 6.0.1 | 6.0.1 | Dockerfile | |
| 6.0.0 | 6.0.0 | Dockerfile | |
| 5.1.0 | 5.1.0, 5.1, 5 | Dockerfile | |
| 5.0.1 | 5.0.1, 5.0 | Dockerfile | |
| 5.0.0 | 5.0.0 | Dockerfile | |
| 4.0.4 | 4.0.4, 4.0, 4 | Dockerfile |
You'll need to have a configured and running libvirt for virtual machines based tests scenarios.
You'll need to have a configured container engine (Docker or Podman) for containers based tests scenarios.
The container runs as the build user (non-root) inherited from the
gwerlas/ansible:debian image. When mounting a local directory, make sure it
is readable and writable by that user, or pass your own UID/GID.
docker run -t --rm \
-v $HOME/.ansible:/home/build/.ansible \
-v $PWD:$PWD \
-w $PWD \
-v /run/docker.sock:/run/docker.sock \
gwerlas/molecule \
molecule test
When using molecule with vagrant-libvirt :
Deprecated. Vagrant left Debian after moving to the non-free BSL license, so the
vagrant-libvirtstack shipped here is now pinned from Debian unstable and will be removed in a future release. Move VM-based scenarios away from it (a libvirt-native replacement is being evaluated).
docker run -t --rm \
-v $HOME/.ansible:/home/build/.ansible \
-v $PWD:$PWD \
-w $PWD \
--cap-add SYS_ADMIN \
--cap-add NET_ADMIN \
-v /run/libvirt:/run/libvirt \
-v /var/lib/libvirt:/var/lib/libvirt \
-v $HOME/.vagrant.d:/home/build/.vagrant.d \
gwerlas/molecule \
molecule test
Content type
Image
Digest
sha256:7984c4da6…
Size
675.3 MB
Last updated
about 9 hours ago
docker pull gwerlas/molecule