Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azhinu/systemd-testing-container
Dockerfiles with systemd and Python to test ansible playbooks
https://github.com/azhinu/systemd-testing-container
ansible docker dockerfile systemd
Last synced: 4 days ago
JSON representation
Dockerfiles with systemd and Python to test ansible playbooks
- Host: GitHub
- URL: https://github.com/azhinu/systemd-testing-container
- Owner: azhinu
- License: wtfpl
- Created: 2023-11-29T15:32:06.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-07-25T12:22:09.000Z (4 months ago)
- Last Synced: 2024-07-25T13:53:44.208Z (4 months ago)
- Topics: ansible, docker, dockerfile, systemd
- Homepage: https://hub.docker.com/r/azhinu/systemd
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Containers with SystemD for Ansible testing
## Installed packages
- bash-completion
- curl
- nano
- netcat-openbsd
- python3
- sudo
- systemd
- unzip
- wget## Tags
- latest: Debian 12
- debian: Debian 12
- debian-12: Debian 12## Run container
⚠️ May not work on Docker Desktop < 4.4.0. Also, old base images (with cgroups v1) will not work without `--cgroupsns=host` flag.
CLI: `docker run --name systemd-debian --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro azhinu/systemd:debian-12`
Or use docker compose:
```yaml
version: '3'
services:
app:
image: azhinu/systemd:debian-12
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
```## Credits
[j8r](https://github.com/j8r/dockerfiles/tree/master/systemd/) - Base Dockerfiles with SystemD
---
More Dockerfiles can be added later