Sign inSign up

gwerlas/molecule

By gwerlas

•Updated 7 days ago

Molecule container image with docker and podman support

Image
Integration & delivery
2

10K+

gwerlas/molecule repository overview

⁠Molecule

Container image with Molecule⁠ and Molecule plugins⁠, built on top of gwerlas/ansible:debian⁠.

GitLab Project : yoanncolin/container-images/molecule⁠.

⁠Tags

The X.Y.Z tags are immutable ; X.Y, X and latest move to the newest matching build (scheduled pipelines republish security patch bumps) :

VersionTagsRebuildSource
26.9.026.9.0, 26.9, 26, latestWeeklyDockerfile⁠
26.8.026.8.0, 26.8Dockerfile⁠
26.6.026.6.0, 26.6Dockerfile⁠
26.4.026.4.0, 26.4Dockerfile⁠
26.3.026.3.0, 26.3Dockerfile⁠
26.2.026.2.0, 26.2Dockerfile⁠
25.12.025.12.0, 25.12, 25Dockerfile⁠
25.11.125.11.1, 25.11Dockerfile⁠
25.11.025.11.0Dockerfile⁠
25.9.025.9.0, 25.9Dockerfile⁠
25.4.025.4.0, 25.4Dockerfile⁠
25.3.125.3.1, 25.3Dockerfile⁠
25.2.025.2.0, 25.2Dockerfile⁠
24.12.024.12.0, 24.12, 24Dockerfile⁠
24.2.124.2.1, 24.2Dockerfile⁠
24.2.024.2.0Dockerfile⁠
6.0.36.0.3, 6.0, 6Dockerfile⁠
6.0.26.0.2Dockerfile⁠
6.0.16.0.1Dockerfile⁠
6.0.06.0.0Dockerfile⁠
5.1.05.1.0, 5.1, 5Dockerfile⁠
5.0.15.0.1, 5.0Dockerfile⁠
5.0.05.0.0Dockerfile⁠
4.0.44.0.4, 4.0, 4Dockerfile⁠

⁠Requirements

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.

⁠Usage

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-libvirt stack 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

⁠License

BSD 3-Clause License⁠.

Tag summary

Content type

Image

Digest

sha256:deeadca01…

Size

669 MB

Last updated

7 days ago

docker pull gwerlas/molecule