User
Last updated
Last updated
User and Group configuration to be used when running a container, by default Docker runs commands in the container as root id 0.
Attributes are the properties of a resource that can be used to configure it.
User user
required
string
Linux user ID or user name to run the container as, this overrides the default user configured in the container image.
Group group
required
string
Linux group ID or group name to run the container as, this overrides the default group configured in the container image.
These attributes are computed when the config is parsed and applied, and are therefor only known at parsetime or runtime.
Meta ID meta.id
string
The full ID of the resource e.g. `resource.type.name`. This is computed from the full resource path:
Meta Type meta.type
string
The type of the resource. This taken from the type label of the resource definition.
Meta Name meta.name
string
The name of the resource. This taken from the name label of the resource definition.