{"id":17662333,"url":"https://github.com/docker/terraform-provider-docker","last_synced_at":"2025-12-12T01:45:15.263Z","repository":{"id":258344197,"uuid":"839431407","full_name":"docker/terraform-provider-docker","owner":"docker","description":"A Terraform provider for managing Docker services.","archived":false,"fork":false,"pushed_at":"2025-08-04T13:36:26.000Z","size":357,"stargazers_count":51,"open_issues_count":6,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-04T17:36:45.910Z","etag":null,"topics":["docker","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/docker/docker/latest","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-07T15:39:25.000Z","updated_at":"2025-07-29T14:04:48.000Z","dependencies_parsed_at":"2024-10-23T19:33:53.538Z","dependency_job_id":"8b9822ca-fddc-4258-b506-f4c6750cabaf","html_url":"https://github.com/docker/terraform-provider-docker","commit_stats":{"total_commits":63,"total_committers":4,"mean_commits":15.75,"dds":0.4126984126984127,"last_synced_commit":"d6e621a55f60fa29ca990ef0f80b8d14cd52b115"},"previous_names":["docker/terraform-provider-docker"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/docker/terraform-provider-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fterraform-provider-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fterraform-provider-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fterraform-provider-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fterraform-provider-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docker","download_url":"https://codeload.github.com/docker/terraform-provider-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fterraform-provider-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274971473,"owners_count":25383481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","terraform","terraform-provider"],"created_at":"2024-10-23T18:07:18.162Z","updated_at":"2025-12-12T01:45:15.213Z","avatar_url":"https://github.com/docker.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Docker Terraform Provider\n\nManage Docker-hosted resources (such as repositories,\nteams, organization settings, and more) using Terraform.\n\n\u003e [!WARNING]\n\u003e This project is **not** for managing objects in a local docker engine. If you would like to use Terraform to interact with a docker engine, [kreuzwerker/docker](https://registry.terraform.io/providers/kreuzwerker/docker/latest) is a fine provider.\n\nDocumentation: https://registry.terraform.io/providers/docker/docker/latest/docs\n\n## Requirements\n\n- [Terraform](https://developer.hashicorp.com/terraform/downloads) \u003e= 1.1\n- [Go](https://golang.org/doc/install) \u003e= 1.21 (to build the provider plugin)\n\n## Usage\n\nBelow is a basic example of how to use the Docker services Terraform provider to create a Docker repository. \n\n```hcl\nterraform {\n  required_providers {\n    docker = {\n      source  = \"docker/docker\"\n      version = \"~\u003e 0.2\"\n    }\n  }\n}\n\nprovider \"docker\" { }\n\nresource \"docker_hub_repository\" \"example\" {\n  name        = \"example-repo\"\n  namespace   = \"example-namespace\"\n  description = \"This is an example Docker repository\"\n  private     = true\n}\n```\n\n## Authentication\n\nWe have multiple ways to set your Docker credentials.\n\n### Setting credentials\n\nUse `docker login` to [log in to a\nregistry](https://docs.docker.com/reference/cli/docker/login/). The `docker` CLI\nwill store your credentials securely in your credential store, such as the\noperating system native keychain. The Docker Terraform provider will\nuse these credentials automatically.\n\n```\ncat ~/my_password.txt | docker login --username my-username --password-stdin\n```\n\nIf you'd like to use a different account for running the provider,\nyou can set credentials in the environment:\n\n```\nexport DOCKER_USERNAME=my-username\nexport DOCKER_PASSWORD=my-secret-token\nterraform plan ...\n```\n\n### Credential types\n\nYou can create a personal access token (PAT) to use as an alternative to your\npassword for Docker CLI authentication.\n\nA \"Read, Write, \u0026 Delete\" PAT can be used to create, edit, and \nmanage permissions for Docker Hub repositories.\n\nThe advantage of PATs is that they have [many security\nbenefits](https://docs.docker.com/security/for-developers/access-tokens/) over\npasswords.\n\nUnfortunately, PATs are limited to managing repositories. If you'd like to use\nthis provider to manage organizations and teams, you will need to authenticate\nwith a password.\n\n## Contributing\n\nWe welcome contributions to the Docker services Terraform provider, detailed documentation for contributing \u0026 building the provider can be found [here](https://github.com/docker/terraform-provider-docker/blob/main/CONTRIBUTING.md)\n\n## Roadmap\n\nOur roadmap is managed through GitHub issues. You can view upcoming features and enhancements, as well as report bugs or request new features, by visiting our [issues page](https://github.com/docker/terraform-provider-docker/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen).\n\n## License\n\nCopyright 2024 Docker, Inc.\n\nLicensed under [the Apache License, Version 2.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker%2Fterraform-provider-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocker%2Fterraform-provider-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker%2Fterraform-provider-docker/lists"}