Skip to content

Commit 393ca94

Browse files
Merge pull request containers#1579 from dfr/ocijail-json
pkg/config: Add ocijail to the RuntimeSupportsJSON list
2 parents 4144457 + b3e9ef9 commit 393ca94

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/config/containers.conf-freebsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ default_sysctls = [
500500
# List of the OCI runtimes that support --format=json. When json is supported
501501
# engine will use it for reporting nicer errors.
502502
#
503-
#runtime_supports_json = ["crun", "runc", "kata", "runsc", "youki", "krun"]
503+
#runtime_supports_json = ["crun", "runc", "kata", "runsc", "youki", "krun", "ocijail"]
504504

505505
# List of the OCI runtimes that supports running containers with KVM Separation.
506506
#

pkg/config/default.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ func defaultConfigFromMemory() (*EngineConfig, error) {
406406
"runsc",
407407
"youki",
408408
"krun",
409+
"ocijail",
409410
}
410411
c.RuntimeSupportsNoCgroups = []string{"crun", "krun"}
411412
c.RuntimeSupportsKVM = []string{"kata", "kata-runtime", "kata-qemu", "kata-fc", "krun"}

0 commit comments

Comments
 (0)