DockerSourceConfig#
- pydantic model controller.models.v1.prepuller_config.DockerSourceConfig#
Docker Registry from which to get images.
- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "DockerSourceConfig", "description": "Docker Registry from which to get images.", "type": "object", "properties": { "type": { "const": "docker", "title": "Type of image source" }, "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" }, "credentialsPath": { "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" } }, "additionalProperties": false, "required": [ "type", "repository" ] }
- field credentialsPath: Path = PosixPath('/etc/secrets/.dockerconfigjson') (name 'credentials_path')#
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: str = 'docker.io'#
Hostname and optional port of the Docker registry holding lab images
- field repository: str [Required]#
Docker repository path to the lab image, without tags or digests. This is sometimes called the image name.
- field type: Literal['docker'] [Required]#