Merge pull request #5439 from ttys3/fixup-systemdgen-with-new-param

systemd generator: force run container detached if CreateCommand has no detach param
This commit is contained in:
OpenShift Merge Robot
2020-03-16 14:40:02 +01:00
committed by GitHub
4 changed files with 139 additions and 1 deletions

View File

@ -25,6 +25,7 @@ Use the name of the container for the start, stop, and description in the unit f
**--new**
Create a new container via podman-run instead of starting an existing one. This option relies on container configuration files, which may not map directly to podman CLI flags; please review the generated output carefully before placing in production.
Since we use systemd `Type=forking` service, using this option will force the container run with the detached param `-d`
**--timeout**, **-t**=*value*