Skip to content

Commit ca37b16

Browse files
committed
handle the case when two containerd instances run simultaneously
1 parent bc8fdcf commit ca37b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/containerd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222
)
2323

2424
func ContainerdInit() error {
25-
sockets := []string{"/run/containerd/containerd.sock", "/run/k3s/containerd/containerd.sock"}
25+
sockets := []string{"/run/k3s/containerd/containerd.sock", "/run/containerd/containerd.sock"}
2626
var err error
2727
for _, socket := range sockets {
2828
containerdClient, err = containerd.New(proc.HostPath(socket),

0 commit comments

Comments
 (0)