1.2 KiB
1.2 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| artifactapi_local_docker Resource - artifactapi | Manages a local ArtifactAPI Docker repository — a real container registry serving the Docker Registry HTTP API V2 for push and pull. |
artifactapi_local_docker (Resource)
Manages a local ArtifactAPI Docker repository — a real container registry serving the Docker Registry HTTP API V2 for push and pull.
Example Usage
resource "artifactapi_local_docker" "internal" {
name = "docker-internal"
description = "Internal container image registry"
}
Schema
Required
name(String) Unique name of the local Docker repository. Becomes the first path segment of pushed image references (e.g. //:).
Optional
description(String) Human-readable description.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
# Import by name.
terraform import artifactapi_local_docker.internal docker-internal