{"id":19569400,"url":"https://github.com/buluma/docker-molecule-shell","last_synced_at":"2026-04-28T16:03:01.070Z","repository":{"id":80860180,"uuid":"584264088","full_name":"buluma/docker-molecule-shell","owner":"buluma","description":"Molecule shell container for Ansible role testing. ","archived":false,"fork":false,"pushed_at":"2024-01-08T19:43:47.000Z","size":18,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T02:04:19.686Z","etag":null,"topics":["ansible","automation","docker","hacktoberfest2022","molecule","tox"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/buluma/docker-molecule-shell","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buluma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-02T03:25:13.000Z","updated_at":"2023-01-02T03:52:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"91526704-4b5f-4e05-a764-f3d647ea461f","html_url":"https://github.com/buluma/docker-molecule-shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fdocker-molecule-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fdocker-molecule-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fdocker-molecule-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fdocker-molecule-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buluma","download_url":"https://codeload.github.com/buluma/docker-molecule-shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240832722,"owners_count":19864982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","automation","docker","hacktoberfest2022","molecule","tox"],"created_at":"2024-11-11T06:09:25.850Z","updated_at":"2026-04-28T16:02:56.050Z","avatar_url":"https://github.com/buluma.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Molecule Shell\n\nA Shell Container to tests your [Ansible](https://www.ansible.com/) role using [Molecule](https://molecule.readthedocs.io/en/stable/).\n\n# Usage\n\n## Build the container\nClone the repository and build the container (needs docker installed)\n```\ngit clone git@github.com:buluma/docker-molecule-shell.git\ncd docker-molecule-shell/\ndocker build -t docker-molecule-shell:local -f Dockerfile .\n```\n\n## Pull the container\n```\ndocker pull ghcr.io/buluma/docker-molecule-shell:latest\n```\n\n# Test ansible roles inside the container\nStart the container\n```\ndocker run -d --name docker-molecule-shell \\\n    --cap-add SYS_ADMIN \\\n    --privileged \\\n    --cgroupns=host \\\n    -v /sys/fs/cgroup:/sys/fs/cgroup:rw \\\n    -v /var/run/docker.sock:/var/run/docker.sock \\\n    -v /PATH/TO/REPOSITORY/:/workspace \\\n    ghcr.io/buluma/docker-molecule-shell:latest /usr/sbin/init\n\ndocker exec -it docker-molecule-shell /bin/bash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuluma%2Fdocker-molecule-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuluma%2Fdocker-molecule-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuluma%2Fdocker-molecule-shell/lists"}