Skip to content

container/publish-ports

Port publishing spec for a container created by the generic containerStart action.

A space-separated list of port publish specs passed to container create as one -p flag per entry, e.g. "8080:80 9000:9000" becomes -p 8080:80 -p 9000:9000.

Each entry follows the container engine's own -p syntax (Docker and Podman both accept hostPort:containerPort, ip:hostPort:containerPort, and similar forms).

The default is empty, which publishes no ports.

Objects that Reference container/publish-ports

Not used in current content packs

Objects used by container/publish-ports

Not used in current content packs