Skip to content

Commit

Permalink
Default to io.containerd.runc.v2
Browse files Browse the repository at this point in the history
runc.v1 was deprecated with the 20.10 major release of moby

Change-type: patch
Signed-off-by: Robert Günzler <[email protected]>
  • Loading branch information
robertgzr authored and lmbarros committed Aug 30, 2023
1 parent 2a4b6ed commit cd0ca50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/runtime_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func configureRuntimes(conf *config.Config) {
}
conf.Runtimes[config.LinuxV1RuntimeName] = types.Runtime{Path: defaultRuntimeName, Shim: defaultV1ShimConfig(conf, defaultRuntimeName)}
conf.Runtimes[config.LinuxV2RuntimeName] = types.Runtime{Path: defaultRuntimeName, Shim: defaultV2ShimConfig(conf, defaultRuntimeName)}
conf.Runtimes[config.StockRuntimeName] = conf.Runtimes[config.LinuxV1RuntimeName]
conf.Runtimes[config.StockRuntimeName] = conf.Runtimes[config.LinuxV2RuntimeName]
}

func defaultV2ShimConfig(conf *config.Config, runtimePath string) *types.ShimConfig {
Expand Down

0 comments on commit cd0ca50

Please sign in to comment.