package portmapper

import "github.com/dotcloud/docker/libnetwork/portmapper"

Index

Functions

func StartProxy

func StartProxy(pb types.PortBinding,
	proxyPath string,
	listenSock *os.File,
) (stop func() error, retErr error)

StartProxy starts the proxy process at proxyPath. If listenSock is not nil, it must be a bound socket that can be passed to the proxy process for it to listen on.

Source Files

proxy_linux.go

Version
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
22 seconds ago

Tools for package owners.