This image is based on Official CentOS systemd container
Launch the systemd first.
docker run --rm -it --privileged --name httpd -v "/sys/fs/cgroup:/sys/fs/cgroup:ro" -p 80:80 -d nthachus/debian-systemd:9-slim
Then setup the required services.
docker exec -it httpd /bin/bash -c "apt-get update; apt-get install -y rsyslog nginx; systemctl start syslog.service nginx.service"
Finally use it.
Content type
Image
Digest
sha256:f70f080a0…
Size
35.9 MB
Last updated
over 4 years ago
docker pull nthachus/debian-systemd:bullseye-slim