systemd: README
This commit is contained in:
parent
2b1147af54
commit
3c3c24c83b
1 changed files with 14 additions and 0 deletions
14
systemd/README.md
Normal file
14
systemd/README.md
Normal 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
|
||||||
|
```
|
Loading…
Reference in a new issue