mirror of
https://github.com/containers/podman.git
synced 2025-08-02 01:09:21 +08:00
Quadlet - use the default runtime
Do not set the runtime when processing a .container file Let Podman choose the runtime based on its configuration Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
@ -319,11 +319,9 @@ func ConvertContainer(container *parser.UnitFile, isUser bool) (*parser.UnitFile
|
||||
|
||||
handleLogDriver(container, ContainerGroup, podman)
|
||||
|
||||
// We use crun as the runtime and delegated groups to it
|
||||
// We delegate groups to the runtime
|
||||
service.Add(ServiceGroup, "Delegate", "yes")
|
||||
podman.add(
|
||||
"--runtime", "crun",
|
||||
"--cgroups=split")
|
||||
podman.add("--cgroups=split")
|
||||
|
||||
timezone, ok := container.Lookup(ContainerGroup, KeyTimezone)
|
||||
if ok && len(timezone) > 0 {
|
||||
|
Reference in New Issue
Block a user