DockerSource#
- pydantic model nublado.models.images.DockerSource#
Docker Registry from which to get images.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "DockerSource", "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" } }, "required": [ "type", "repository" ] }
-
field registry:
Annotated[str] = 'docker.io'# Hostname and optional port of the Docker registry holding lab images
-
field repository:
Annotated[str] [Required]# Docker repository path to the lab image, without tags or digests. This is sometimes called the image name.
- to_logging_context()#
Build key/value pairs suitable for passing to structlog.