mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
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:
@@ -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") != ""
|
||||
|
||||
Reference in New Issue
Block a user