spiegel_podman/docs/source
荒野無燈 194723f314
force run container detached if container CreateCommand missing the detach param
the podman generated systemd service file has `Type=forking` service,
so the command after `ExecStart=` should not run in front.
if someone created a container and has the detach(`-d`) param missing
like this
```
podman create --name ngxdemo -P nginxdemos/hello
```
and generate the file with `--new` param:
```
podman generate systemd --name --new ngxdemo
```
because `podman run xxx` has no `-d` param,
so the container is not run in background and nerver exit.
and systemd will fail to start the service:
```
sudo systemctl start container-ngxdemo.service
Job for container-ngxdemo.service failed because a timeout was exceeded.
See "systemctl status container-ngxdemo.service" and "journalctl -xe" for details.
```

Signed-off-by: 荒野無燈 <ttys3@outlook.com>
2020-03-14 21:54:12 +08:00
..
_static [CI:DOCS]Connect API docs and RTD 2020-01-17 15:12:35 -06:00
markdown force run container detached if container CreateCommand missing the detach param 2020-03-14 21:54:12 +08:00
Commands.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00
conf.py Restructure documentation dir 2019-10-31 12:31:39 -05:00
generate.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
healthcheck.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
image.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
index.rst Restructure documentation dir 2019-10-31 12:31:39 -05:00
Introduction.rst Restructure documentation dir 2019-10-31 12:31:39 -05:00
managecontainers.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
network.rst docs: fix incomplete heading underlining in network.rst 2020-01-28 06:44:07 -05:00
play.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
pod.rst Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
Reference.rst [CI:DOCS] Add logo and dev statement 2020-01-20 13:59:55 -06:00
system.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
Tutorials.rst Restructure documentation dir 2019-10-31 12:31:39 -05:00
volume.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00