{"id":30758784,"url":"https://github.com/trfore/docker-debian13-systemd","last_synced_at":"2026-05-20T05:09:24.370Z","repository":{"id":310760600,"uuid":"1041064234","full_name":"trfore/docker-debian13-systemd","owner":"trfore","description":"A minimal systemd enabled Debian 13 image","archived":false,"fork":false,"pushed_at":"2025-08-20T02:32:05.000Z","size":15,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-20T04:41:22.663Z","etag":null,"topics":["ansible-molecule","debian","docker-image","systemd"],"latest_commit_sha":null,"homepage":"","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/trfore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-19T23:43:17.000Z","updated_at":"2025-08-20T02:32:08.000Z","dependencies_parsed_at":"2025-08-20T04:41:27.423Z","dependency_job_id":"63456ce7-b689-47f5-b490-b4516d54ad36","html_url":"https://github.com/trfore/docker-debian13-systemd","commit_stats":null,"previous_names":["trfore/docker-debian13-systemd"],"tags_count":null,"template":false,"template_full_name":"trfore/docker-image","purl":"pkg:github/trfore/docker-debian13-systemd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trfore%2Fdocker-debian13-systemd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trfore%2Fdocker-debian13-systemd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trfore%2Fdocker-debian13-systemd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trfore%2Fdocker-debian13-systemd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trfore","download_url":"https://codeload.github.com/trfore/docker-debian13-systemd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trfore%2Fdocker-debian13-systemd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273596972,"owners_count":25134262,"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-09-04T02:00:08.968Z","response_time":61,"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-molecule","debian","docker-image","systemd"],"created_at":"2025-09-04T11:12:42.687Z","updated_at":"2026-05-20T05:09:24.340Z","avatar_url":"https://github.com/trfore.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-debian13-systemd\n\n[![CI](https://github.com/trfore/docker-debian13-systemd/actions/workflows/ci.yml/badge.svg)](https://github.com/trfore/docker-debian13-systemd/actions/workflows/ci.yml)\n[![CD](https://github.com/trfore/docker-debian13-systemd/actions/workflows/cd.yml/badge.svg)](https://github.com/trfore/docker-debian13-systemd/actions/workflows/cd.yml)\n\nA minimal systemd enabled Debian 13 (Trixie) Docker image for testing Ansible roles with Molecule.\n\nNOTE: This image does NOT contain Ansible tooling, e.g. `ansible-core` or `yamllint`. Thus, the use case is as target\nhost for Ansible controllers or within the Molecule `create`/`converge`/`test` cycle.\n\n## Docker Pull Command\n\n```sh\ndocker pull trfore/docker-debian13-systemd\n```\n\n## How to Build\n\nThis image is built on Docker Hub automatically any time the upstream OS image is rebuilt, and any time a commit is made\nor merged to the `main` branch. But if you need to build the image on your own locally, do the following:\n\n1. Install [docker]\n2. Clone the repo, `git clone https://github.com/trfore/docker-debian13-systemd.git`\n3. `cd` into the directory\n4. Run `docker build --tag trfore/docker-debian13-systemd .`\n\n## How to Use\n\n### Within Molecule Scenario\n\n- Add the following code to your molecule scenario file, e.g. `molecule/default/molecule.yml`.\n\n  ```yaml\n  platforms:\n    - name: instance\n      image: trfore/docker-debian13-systemd:latest\n      tmpfs:\n        - /run\n        - /tmp\n      volumes:\n        - /sys/fs/cgroup:/sys/fs/cgroup:rw\n      cgroupns_mode: host\n      privileged: true\n      pre_build_image: true\n  ```\n\n### Interactively Using Docker\n\n- Install [docker]\n- Build an image locally (see above) or pull from Docker Hub: `docker pull trfore/docker-debian13-systemd:latest`\n- **On Docker with Cgroup V2 (e.g. Ubuntu 22.04)**, run a container from the image:\n\n  ```sh\n  docker run -d -it --name debian13-systemd --privileged --cgroupns=host --tmpfs=/run --tmpfs=/tmp --volume=/sys/fs/cgroup:/sys/fs/cgroup:rw trfore/docker-debian13-systemd:latest\n  ```\n\n- Use it, example:\n\n  ```sh\n  docker exec -it debian13-systemd /bin/bash\n  ```\n\n### Using Podman\n\n- Podman defaults to running containers in systemd mode, `--systemd=true`, and will mount the required tmpfs and cgroup\n  filesystem. See [Podman Docs: Commands `run --systemd`] for details.\n\n  ```sh\n  podman run -d -it --name debian13-systemd docker.io/trfore/docker-debian13-systemd:latest\n  ```\n\n## Note on Systemd Status\n\nStarting with **systemd 256**, a taint is applied when `/bin` and `/sbin` are not symlinked/merged. This image uses\n**systemd 257.7-1**, so calling `systemd status` you will see `Tainted: unmerged-bin` in the stdout.\n[See links below](#systemd-unmerged-bin-taint) for details.\n\n## Additional Images\n\n| Base OS                          | Github                      | Docker Hub                         |\n| -------------------------------- | --------------------------- | ---------------------------------- |\n| [CentOS Stream 8][centos-stream] | [docker-centos8-systemd]    | [trfore/docker-centos8-systemd]    |\n| [CentOS Stream 9][centos-stream] | [docker-centos9-systemd]    | [trfore/docker-centos9-systemd]    |\n| [Debian 10][debian]              | [docker-debian10-systemd]   | [trfore/docker-debian10-systemd]   |\n| [Debian 11][debian]              | [docker-debian11-systemd]   | [trfore/docker-debian11-systemd]   |\n| [Debian 12][debian]              | [docker-debian12-systemd]   | [trfore/docker-debian12-systemd]   |\n| [Debian 13][debian]              | [docker-debian13-systemd]   | [trfore/docker-debian13-systemd]   |\n| [Ubuntu 20.04][ubuntu]           | [docker-ubuntu2004-systemd] | [trfore/docker-ubuntu2004-systemd] |\n| [Ubuntu 22.04][ubuntu]           | [docker-ubuntu2204-systemd] | [trfore/docker-ubuntu2204-systemd] |\n| [Ubuntu 24.04][ubuntu]           | [docker-ubuntu2404-systemd] | [trfore/docker-ubuntu2404-systemd] |\n\n## References\n\n- \u003chttps://ansible.readthedocs.io/projects/molecule/\u003e\n- \u003chttps://ansible.readthedocs.io/projects/molecule/guides/systemd-container/\u003e\n- \u003chttps://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container\u003e\n- [github runner - ubuntu 22.04] preinstalled software\n- [github runner - ubuntu 24.04] preinstalled software\n\n### Systemd Unmerged Bin Taint\n\n- \u003chttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085370\u003e\n- \u003chttps://github.com/systemd/systemd/issues/35438\u003e\n- \u003chttps://github.com/systemd/systemd/pull/38531\u003e\n- \u003chttps://news.ycombinator.com/item?id=44852700\u003e\n\n[centos-stream]: https://quay.io/repository/centos/centos?tab=tags\n[debian]: https://hub.docker.com/_/debian/\n[docker]: https://docs.docker.com/engine/installation/\n[ubuntu]: https://hub.docker.com/_/ubuntu/\n[docker-centos8-systemd]: https://github.com/trfore/docker-centos8-systemd/blob/main/Dockerfile\n[docker-centos9-systemd]: https://github.com/trfore/docker-centos9-systemd/blob/main/Dockerfile\n[docker-debian10-systemd]: https://github.com/trfore/docker-debian10-systemd/blob/main/Dockerfile\n[docker-debian11-systemd]: https://github.com/trfore/docker-debian11-systemd/blob/main/Dockerfile\n[docker-debian12-systemd]: https://github.com/trfore/docker-debian12-systemd/blob/main/Dockerfile\n[docker-debian13-systemd]: https://github.com/trfore/docker-debian13-systemd/blob/main/Dockerfile\n[docker-ubuntu2004-systemd]: https://github.com/trfore/docker-ubuntu2004-systemd/blob/main/Dockerfile\n[docker-ubuntu2204-systemd]: https://github.com/trfore/docker-ubuntu2204-systemd/blob/main/Dockerfile\n[docker-ubuntu2404-systemd]: https://github.com/trfore/docker-ubuntu2404-systemd/blob/main/Dockerfile\n[trfore/docker-centos8-systemd]: https://hub.docker.com/r/trfore/docker-centos8-systemd\n[trfore/docker-centos9-systemd]: https://hub.docker.com/r/trfore/docker-centos9-systemd\n[trfore/docker-debian10-systemd]: https://hub.docker.com/r/trfore/docker-debian10-systemd\n[trfore/docker-debian11-systemd]: https://hub.docker.com/r/trfore/docker-debian11-systemd\n[trfore/docker-debian12-systemd]: https://hub.docker.com/r/trfore/docker-debian12-systemd\n[trfore/docker-debian13-systemd]: https://hub.docker.com/r/trfore/docker-debian13-systemd\n[trfore/docker-ubuntu2004-systemd]: https://hub.docker.com/r/trfore/docker-ubuntu2004-systemd\n[trfore/docker-ubuntu2204-systemd]: https://hub.docker.com/r/trfore/docker-ubuntu2204-systemd\n[trfore/docker-ubuntu2404-systemd]: https://hub.docker.com/r/trfore/docker-ubuntu2404-systemd\n[github runner - ubuntu 22.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md\n[github runner - ubuntu 24.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md\n[Podman Docs: Commands `run --systemd`]: https://docs.podman.io/en/latest/markdown/podman-run.1.html#systemd-true-false-always\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrfore%2Fdocker-debian13-systemd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrfore%2Fdocker-debian13-systemd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrfore%2Fdocker-debian13-systemd/lists"}