mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +08:00
Added a way to define default runtime flags in config. Fixes: https://github.com/containers/common/issues/715 Default runtime flags should be defined as shown below: [engine.runtimes_flags] runsc = [ "net-raw", ] crun = [ "debug", ] Signed-off-by: Rosvaldas Atstupėnas <atstupenas.rosvaldas@gmail.com>
12 lines
535 B
Markdown
12 lines
535 B
Markdown
####> This option file is used in:
|
|
####> podman build, farm build
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
#### **--runtime-flag**=*flag*
|
|
|
|
Adds global flags for the container runtime. To list the supported flags, please consult the manpages of the selected container runtime.
|
|
|
|
Default runtime flags can be added in containers.conf.
|
|
|
|
Note: Do not pass the leading -- to the flag. To pass the runc flag --log-format json to buildah build, the option given is --runtime-flag log-format=json.
|