mirror of
https://github.com/containers/podman.git
synced 2025-10-25 18:25:59 +08:00
quadlet: Change RunInit default to no
This matches the default of podman run. Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
@ -190,9 +190,9 @@ of startup on its own.
|
||||
|
||||
The timezone to run the container in.
|
||||
|
||||
#### `RunInit=` (default to `yes`)
|
||||
#### `RunInit=` (default to `no`)
|
||||
|
||||
If enabled (and it is by default), the container will have a minimal init process inside the
|
||||
If enabled, the container will have a minimal init process inside the
|
||||
container that forwards signals and reaps processes.
|
||||
|
||||
#### `VolatileTmp=` (default to `yes`)
|
||||
|
||||
@ -276,7 +276,7 @@ func ConvertContainer(container *parser.UnitFile, isUser bool) (*parser.UnitFile
|
||||
}
|
||||
|
||||
// Run with a pid1 init to reap zombies by default (as most apps don't do that)
|
||||
runInit := container.LookupBoolean(ContainerGroup, KeyRunInit, true)
|
||||
runInit := container.LookupBoolean(ContainerGroup, KeyRunInit, false)
|
||||
if runInit {
|
||||
podman.add("--init")
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
## assert-podman-args "-d"
|
||||
## assert-podman-args "--log-driver" "passthrough"
|
||||
## assert-podman-args "--pull=never"
|
||||
## assert-podman-args "--init"
|
||||
## assert-podman-args "--runtime" "/usr/bin/crun"
|
||||
## assert-podman-args "--cgroups=split"
|
||||
## assert-podman-args "--sdnotify=conmon"
|
||||
|
||||
Reference in New Issue
Block a user