DockerSourceOptions#
- pydantic model nublado.controller.models.v1.prepuller.DockerSourceOptions#
Docker Registry from which to get images.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "DockerSourceOptions", "description": "Docker Registry from which to get images.", "type": "object", "properties": { "type": { "const": "docker", "title": "Type of image source", "type": "string" }, "registry": { "default": "docker.io", "description": "Hostname and optional port of the Docker registry holding lab images", "examples": [ "lighthouse.ceres" ], "title": "Docker registry", "type": "string" }, "repository": { "description": "Docker repository path to the lab image, without tags or digests. This is sometimes called the image name.", "examples": [ "library/sketchbook" ], "title": "Docker repository (image name)", "type": "string" }, "credentials_path": { "default": "/etc/secrets/.dockerconfigjson", "description": "Path to a file containing a JSON-encoded dictionary of Docker credentials for various registries, in the same format as the Docker configuration file and the value of a Kubernetes pull secret", "format": "path", "title": "Path to Docker API credentials", "type": "string" } }, "required": [ "type", "repository" ] }
-
field credentials_path:
Annotated[Path] = PosixPath('/etc/secrets/.dockerconfigjson')# Path to a file containing a JSON-encoded dictionary of Docker credentials for various registries, in the same format as the Docker configuration file and the value of a Kubernetes pull secret
-
field registry:
Annotated[str] = 'docker.io'# Hostname and optional port of the Docker registry holding lab images