Configuration for a container.
Resource limitations on a container.
Resource limitations on a container.
Memory limit, in bytes.
Total memory limit (memory + swap), in bytes. Set -1
to disable swap.
CPU shares (relative weight vs. other containers)
CPUs in which to allow execution, examples: "0-2"
, "0,1"
.
Host configuration for a container.
Host configuration for a container.
A map of exposed container ports to bindings on the host.
Allocate a random port for each exposed container port.
Container links.
Volume bindings.
Volumes to inherit from other containers.
Devices to add to the container.
Mount the container's root filesystem as read only.
DNS servers for the container to use.
DNS search domains.
Networking mode for the container
Gives the container full access to the host.
Change Linux kernel capabilities for the container.
Behavior to apply when the container exits.
Kernel capabilities to add to the container
Kernel capabilities to drop from the container.
Configuration options for standard streams.
Configuration options for standard streams.
Attach to standard input.
Attach to standard output.
Attach to standard error.
Attach standard streams to a tty.
Keep stdin open even if not attached.
Close stdin when one attached client disconnects.
Configuration for a container.
Image to run.
Entry point for the container.
Command to run.
Environment variables.
Ports that the container should expose.
Paths inside the container that should be exposed.
Working directory for commands to run in.
Username or UID.
Container hostname.
Container domain name.
Resource limits.
Configuration for standard streams.
Labels for the container.
Disable network for the container.