docker

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestPortUsing = false

Used by TestContainer, to simulate the port is using.

Functions

func ExposedPort added in v1.15.12

func ExposedPort(exposedPorts []string, port string) string

func ImageToCommand added in v1.15.12

func ImageToCommand(image *docker.Image) (command string, exposedPorts []string)

func IsPortUsing added in v1.17.0

func IsPortUsing(port int) bool

func ValidPort added in v1.17.0

func ValidPort() int

Types

This section is empty.

Jump to

Keyboard shortcuts

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