mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
Add default runtime flags in config
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>
This commit is contained in:
committed by
Matt Heon
parent
14b68ba9c6
commit
0a20e22384
@@ -6,4 +6,6 @@
|
||||
|
||||
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.
|
||||
|
||||
@@ -147,6 +147,8 @@ consult the manpages of the selected container runtime (`runc` is the default
|
||||
runtime, the manpage to consult is `runc(8)`. When the machine is configured
|
||||
for cgroup V2, the default runtime is `crun`, the manpage to consult is `crun(8)`.).
|
||||
|
||||
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 podman build, the option given can be `--runtime-flag log-format=json`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user