{"id":22218245,"url":"https://github.com/antmelekhin/docker-systemd","last_synced_at":"2025-07-27T14:32:32.644Z","repository":{"id":153990316,"uuid":"600556843","full_name":"antmelekhin/docker-systemd","owner":"antmelekhin","description":"Docker images with systemd support.","archived":false,"fork":false,"pushed_at":"2025-07-23T16:53:02.000Z","size":45,"stargazers_count":22,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T18:27:08.672Z","etag":null,"topics":["ansible","docker","molecule","systemd"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/antmelekhin/docker-systemd","language":"Dockerfile","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/antmelekhin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-11T21:17:51.000Z","updated_at":"2025-07-23T16:53:04.000Z","dependencies_parsed_at":"2024-06-29T20:22:25.021Z","dependency_job_id":"5f6fb931-7cdf-427c-8f48-fdfc26cc95af","html_url":"https://github.com/antmelekhin/docker-systemd","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/antmelekhin/docker-systemd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fdocker-systemd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fdocker-systemd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fdocker-systemd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fdocker-systemd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antmelekhin","download_url":"https://codeload.github.com/antmelekhin/docker-systemd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antmelekhin%2Fdocker-systemd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267370615,"owners_count":24076458,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","docker","molecule","systemd"],"created_at":"2024-12-02T22:19:54.305Z","updated_at":"2025-07-27T14:32:32.639Z","avatar_url":"https://github.com/antmelekhin.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker images with systemd support\n\nDocker containers that uses for Ansible role and playbook testing.\n\n## Supported tags and platforms\n\nAlma Linux:\n\n- `almalinux-8` (`linux/amd64`,`linux/arm64`)\n- `almalinux-9` (`linux/amd64`,`linux/arm64`)\n\nAmazon Linux:\n\n- `amazonlinux-2` (`linux/amd64`)\n- `amazonlinux-2023` (`linux/amd64`,`linux/arm64`)\n\nCentOS:\n\n- `centos-7` (`linux/amd64`)\n\nDebian:\n\n- `debian-10` (`linux/amd64`,`linux/arm64`)\n- `debian-11` (`linux/amd64`,`linux/arm64`)\n- `debian-12` (`linux/amd64`,`linux/arm64`)\n\nFedora:\n\n- `fedora-39` (`linux/amd64`,`linux/arm64`)\n- `fedora-40` (`linux/amd64`,`linux/arm64`)\n- `fedora-41` (`linux/amd64`,`linux/arm64`)\n\nOpensuse:\n\n- `opensuse-15.6` (`linux/amd64`,`linux/arm64`)\n\nRocky Linux:\n\n- `rockylinux-8` (`linux/amd64`,`linux/arm64`)\n- `rockylinux-9` (`linux/amd64`,`linux/arm64`)\n\nUbuntu:\n\n- `ubuntu-18.04` (`linux/amd64`,`linux/arm64`)\n- `ubuntu-20.04` (`linux/amd64`,`linux/arm64`)\n- `ubuntu-22.04` (`linux/amd64`,`linux/arm64`)\n- `ubuntu-24.04` (`linux/amd64`,`linux/arm64`)\n\n## Usage\n\n### With Molecule\n\n```yaml\n---\ndependency:\n  name: 'galaxy'\n  enabled: true\ndriver:\n  name: 'docker'\nplatforms:\n  - name: 'instance-ubuntu'\n    image: 'antmelekhin/docker-systemd:ubuntu-22.04'\n    volumes:\n      - '/sys/fs/cgroup:/sys/fs/cgroup:rw'\n      - '/var/lib/containerd'\n    cgroupns_mode: 'host'\n    privileged: true\n    pre_build_image: true\n    groups:\n      - 'debian_family'\n  - name: 'instance-rocky'\n    image: 'antmelekhin/docker-systemd:rockylinux-9'\n    volumes:\n      - '/sys/fs/cgroup:/sys/fs/cgroup:rw'\n      - '/var/lib/containerd'\n    cgroupns_mode: 'host'\n    privileged: true\n    pre_build_image: true\n    groups:\n      - 'rhel_family'\nprovisioner:\n  name: 'ansible'\nverifier:\n  name: 'ansible'\n```\n\n### Build and run\n\n- Build the image with `Ubuntu 22.04`\n\n  ```bash\n  export DISTR='ubuntu'\n  export VERSION='22.04'\n  docker build -t docker-systemd:${DISTR}-${VERSION} -f ${DISTR}/${VERSION}.Dockerfile .\n  ```\n\n- Run the container\n\n  ```bash\n  docker run -d --name systemd-${DISTR}-${VERSION} --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:rw --cgroupns=host docker-systemd:${DISTR}-${VERSION}\n  ```\n\n- Enter to the container\n\n  ```bash\n  docker exec -it systemd-${DISTR}-${VERSION} /bin/bash\n  ```\n\n- Remove the container\n\n  ```bash\n  docker rm -f systemd-${DISTR}-${VERSION}\n  ```\n\n## License\n\nMIT\n\n## Author\n\nMelekhin Anton.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmelekhin%2Fdocker-systemd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantmelekhin%2Fdocker-systemd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmelekhin%2Fdocker-systemd/lists"}