systemd: README

This commit is contained in:
Vincent Batts 2019-03-19 21:08:55 -04:00
parent 2b1147af54
commit 3c3c24c83b
Signed by: vbatts
GPG Key ID: E30EFAA812C6E5ED
1 changed files with 14 additions and 0 deletions

14
systemd/README.md Normal file
View File

@ -0,0 +1,14 @@
# 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
```