{"id":13505737,"url":"https://github.com/hashicorp/terraform-provider-docker","last_synced_at":"2025-12-12T00:36:02.725Z","repository":{"id":56010077,"uuid":"93446500","full_name":"hashicorp/terraform-provider-docker","owner":"hashicorp","description":"As part of our introduction to self-service publishing in the Terraform Registry, this copy of the provider has been archived, and ownership has been transferred to active maintainers in the community. Please see the new location on the Terraform Registry: https://registry.terraform.io/providers/kreuzwerker/docker/latest","archived":true,"fork":false,"pushed_at":"2020-12-10T22:00:15.000Z","size":10117,"stargazers_count":132,"open_issues_count":62,"forks_count":91,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-01-08T13:07:36.155Z","etag":null,"topics":["docker","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/kreuzwerker/docker/latest","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashicorp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-05T20:59:07.000Z","updated_at":"2024-10-03T05:12:45.000Z","dependencies_parsed_at":"2022-08-15T11:20:33.603Z","dependency_job_id":null,"html_url":"https://github.com/hashicorp/terraform-provider-docker","commit_stats":null,"previous_names":["terraform-providers/terraform-provider-docker"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","download_url":"https://codeload.github.com/hashicorp/terraform-provider-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234878297,"owners_count":18900676,"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","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-08-01T00:01:12.557Z","updated_at":"2025-10-01T14:31:19.226Z","avatar_url":"https://github.com/hashicorp.png","language":"Go","funding_links":[],"categories":["Go","Providers"],"sub_categories":["Hashicorp supported providers"],"readme":"Please Note: As part of our introduction to self-service publishing in the Terraform Registry, this copy of the provider has been archived, and ownership has been transferred to its active maintainers in the community. Please see the new location on the [Terraform Registry](https://registry.terraform.io/providers/kreuzwerker/docker/latest). You can use the provider from its new location in the Registry by updating your configuration in Terraform with the following:\n\n```hcl\nterraform {\n  required_providers {\n    docker = {\n      source = \"kreuzwerker/docker\"\n    }\n  }\n}\n\nprovider \"docker\" {\n  # Configuration options\n}\n```\n\nTerraform Provider\n==================\n\n- Website: https://www.terraform.io\n- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby)\n- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)\n\n\u003cimg src=\"https://cdn.rawgit.com/hashicorp/terraform-website/master/content/source/assets/images/logo-hashicorp.svg\" width=\"600px\"\u003e\n\nRequirements\n------------\n\n-\t[Terraform](https://www.terraform.io/downloads.html) 0.12.x\n-\t[Go](https://golang.org/doc/install) 1.15.x (to build the provider plugin)\n\nBuilding The Provider\n---------------------\n\nClone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-docker`\n\n```sh\n$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers\n$ git clone git@github.com:terraform-providers/terraform-provider-docker\n```\n\nEnter the provider directory and build the provider\n\n```sh\n$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-docker\n$ make build\n```\n\nUsing the provider\n----------------------\n## Fill in for each provider\n\nDeveloping the Provider\n---------------------------\n\nIf you wish to work on the provider, you'll first need the latest version of [Go](http://www.golang.org) installed on your machine (currently 1.15). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH` (note that we typically test older versions of golang as long as they are supported upstream, though we recommend new development to happen on the latest release).\n\nTo compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.\n\n```sh\n$ make build\n...\n$ $GOPATH/bin/terraform-provider-docker\n...\n```\n\nIn order to test the provider, you can simply run `make test`.\n\n```sh\n$ make test\n```\n\nIn order to run the full suite of Acceptance tests, run `make testacc`.\n\n*Note:* Acceptance tests create a local registry which will be deleted afterwards.\n\n```sh\n$ make testacc\n```\n\nIn order to run only single Acceptance tests, execute the following steps:\n\n```sh\n# setup the testing environment\n$ make testacc_setup\n\n# run single tests\nTF_LOG=INFO TF_ACC=1 go test -v ./docker -run ^TestAccDockerImage_data_private_config_file$ -timeout 360s\n\n# cleanup the local testing resources\n$ make testacc_cleanup\n```\n\nIn order to extend the provider and test it with `terraform`, build the provider as mentioned above with\n```sh\n$ make build\n# or a specific version\n$ go build -o terraform-provider-docker_v1.2.0_x4\n```\n\nRemove an explicit version of the provider you develop, because `terraform` will fetch\nthe locally built one in `$GOPATH/bin`\n```hcl\nprovider \"docker\" {\n  # version = \"~\u003e 0.1.2\"\n  ...\n}\n```\n\n\nDon't forget to run `terraform init` each time you rebuild the provider. Check [here](https://www.youtube.com/watch?v=TMmovxyo5sY\u0026t=30m14s) for a more detailed explanation.\n\nYou can check the latest released version of a provider at https://releases.hashicorp.com/terraform-provider-docker/.\n\nDeveloping on Windows\n---------------------\n\nYou can build and test on Widows without `make`.  Run `go install` to\nbuild and `Scripts\\runAccTests.bat` to run the test suite.\n\nContinuous integration for Windows is not available at the moment due\nto lack of a CI provider that is free for open source projects *and*\nsupports running Linux containers in Docker for Windows.  For example,\nAppVeyor is free for open source projects and provides Docker on its\nWindows builds, but only offers Linux containers on Windows as a paid\nupgrade.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-provider-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashicorp%2Fterraform-provider-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-provider-docker/lists"}