Sfoglia il codice sorgente

Merge pull request #41557 from AkihiroSuda/cherrypick-41156-1903

[19.03 backport] dockerd-rootless.sh: support new containerd shim socket path convention
Brian Goff 4 anni fa
parent
commit
bb69504a4a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      contrib/dockerd-rootless.sh

+ 1 - 1
contrib/dockerd-rootless.sh

@@ -88,6 +88,6 @@ else
 	[ $_DOCKERD_ROOTLESS_CHILD = 1 ]
 	[ $_DOCKERD_ROOTLESS_CHILD = 1 ]
 	# remove the symlinks for the existing files in the parent namespace if any,
 	# remove the symlinks for the existing files in the parent namespace if any,
 	# so that we can create our own files in our mount namespace.
 	# so that we can create our own files in our mount namespace.
-	rm -f /run/docker /run/xtables.lock
+	rm -f /run/docker /run/containerd /run/xtables.lock
 	exec dockerd $@
 	exec dockerd $@
 fi
 fi