container-images/systemd/README.md

15 lines
241 B
Markdown
Raw Normal View History

2019-03-20 01:08:55 +00:00
# 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
```