container-images/systemd/README.md
2024-03-27 15:44:36 -04:00

14 lines
241 B
Markdown

# systemd container
Building on this is easy as:
```Dockerfile
FROM systemd
RUN dnf -y install httpd; dnf clean all; systemctl enable httpd.service
EXPOSE 80
```
```shell
podman build -t httpd .
podman run -it --rm --systemd -P httpd
```