mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
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:
@ -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*
|
||||
|
||||
|
Reference in New Issue
Block a user