Sign inSign up

azhinu/systemd

By azhinu

•Updated almost 2 years ago

Containers with SystemD enabled for Ansible playbook testing

Image
0

1.1K

azhinu/systemd repository overview

⁠Containers with SystemD for Ansible testing

⁠About

GitHub⁠

⁠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:

version: '3'
services:
  app:
    image: azhinu/systemd:debian-12
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    privileged: true

⁠Credits

j8r⁠ - Base Dockerfiles with SystemD


More Dockerfiles can be added later

Tag summary

Content type

Image

Digest

sha256:80cbea5a8…

Size

100.6 MB

Last updated

almost 2 years ago

docker pull azhinu/systemd