Cloud API Overview > @adpt/cloud > docker > DockerContainerProps
docker.DockerContainerProps interface
Props for docker.DockerContainer
Signature:
export interface DockerContainerProps extends DockerGlobalOptions, Pick<ContainerProps, "autoRemove" | "command" | "environment" | "portBindings" | "ports" | "restartPolicy" | "stopSignal">
Properties
| Property | Type | Description |
|---|---|---|
| dockerHost | string | Host and port of the remote docker host to use. |
| image | ImageNameString |Handle<DockerImageInstance> | image name as a string, or a handle to a DockerImage component |
| labels | ContainerLabels | Labels to apply to the container. |
| mounts | Mount[] | Filesystems to be mounted in the container. |
| networks | string[] | Networks to connect the container to |
| privileged | boolean | Enables the container to run in privileged mode. |