Container(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A Docker container.
Attributes | |
---|---|
Name | Description |
image |
str
Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of `preconfigured images |
command |
MutableSequence[str]
Optional. If set, overrides the default ENTRYPOINT specified by the image. |
args |
MutableSequence[str]
Optional. Arguments passed to the entrypoint. |
env |
MutableMapping[str, str]
Optional. Environment variables passed to the container's entrypoint. |
working_dir |
str
Optional. If set, overrides the default DIR specified by the image. |
run_as_user |
int
Optional. If set, overrides the USER specified in the image with the given uid. |
Classes
EnvEntry
EnvEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |