--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "artifactapi_local_docker Resource - artifactapi" subcategory: "" description: |- 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 ```terraform 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](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: ```shell # Import by name. terraform import artifactapi_local_docker.internal docker-internal ```