Merge pull request #48132 from robmry/bind_socket_for_docker_proxy

Create docker-proxy TCP/UDP listener sockets in the daemon
This commit is contained in:
Sebastiaan van Stijn
2024-08-08 20:30:58 +02:00
committed by GitHub
25 changed files with 1155 additions and 425 deletions

View File

@@ -2,9 +2,6 @@ package rootless // import "github.com/docker/docker/pkg/rootless"
import "os"
// RootlessKitDockerProxyBinary is the binary name of rootlesskit-docker-proxy
const RootlessKitDockerProxyBinary = "rootlesskit-docker-proxy"
// RunningWithRootlessKit returns true if running under RootlessKit namespaces.
func RunningWithRootlessKit() bool {
return os.Getenv("ROOTLESSKIT_STATE_DIR") != ""