internal

package
v0.38.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BindHostIP       = "127.0.0.1"
	BindInternalHost = "host.docker.internal"
)

Variables

This section is empty.

Functions

func DefaultHostConfig

func DefaultHostConfig(hc *docker.HostConfig)

func IPv4PortBindings

func IPv4PortBindings(exposedPorts []string) map[docker.Port][]docker.PortBinding

IPv4PortBindings returns the port bindings for the given exposed ports forcing ipv4 address.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL