Container(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A Docker container.
Attributes | |
---|---|
Name | Description |
image |
str
Docker image defining the container. This image must be accessible by the config's service account. |
command |
MutableSequence[str]
If set, overrides the default ENTRYPOINT specified by the image. |
args |
MutableSequence[str]
Arguments passed to the entrypoint. |
env |
MutableMapping[str, str]
Environment variables passed to the container. |
working_dir |
str
If set, overrides the default DIR specified by the image. |
run_as_user |
int
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 |