terraform-provider-docker/CHANGELOG.md
Martin d7d7ff7f89
Some checks failed
Acc Tests / acc-test (TestAccDockerConfig, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerConfig, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerNetwork, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerNetwork, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerPlugin, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerPlugin, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerSecret, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerSecret, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerTag, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerTag, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerVolume, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerVolume, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerContainer, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerContainer, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerImage, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerImage, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerRegistryImage, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerRegistryImage, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerService, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerService, 1.8.x) (push) Has been cancelled
Compile Binaries / compile-fast (push) Has been cancelled
Compile Binaries / compile (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
Unit Tests / unit-test (push) Has been cancelled
Website Checks / markdown-link-check (push) Has been cancelled
Docs and Website Lint / website-generation (push) Has been cancelled
Docs and Website Lint / website-lint-spellcheck-tffmt (push) Has been cancelled
Docs and Website Lint / markdown-lint (push) Has been cancelled
chore: Prepare release v3.9.0 (#821)
2025-11-09 23:16:05 +01:00

34 KiB

v3.9.0 (2025-11-09)

Chore

  • Add file requested by hashicorp (#813)
  • Prepare release v3.8.0 (#806)

Feat

  • Implement caching of docker provider (#808)

Fix

  • test attribute of docker_service healthcheck is not required (#815)
  • docker_service label can be updated without recreate (#814)

v3.8.0 (2025-10-08)

Feat

  • Add build attribute for docker_registry_image (#805)
  • Add build option for additional contexts (#798)
  • implement mac_address for networks_advanced (#794)
  • Implement docker cluster volume (#793)

v3.7.0 (2025-08-19)

Chore

  • Prepare release v3.7.0 (#774)

Feat

  • Implement memory_reservation and network_mode enhancements (#773)
  • Implement cache_from and cache_to for docker_image (#772)

Fix

  • Correctly get and set nanoCPUs for docker_container (#771)

v3.6.2 (2025-06-13)

Chore

  • Prepare release v3.6.2 (#750)

Feat

  • Allow digest in image name (#744)

Fix

  • Remove wrong buildkit version assignment (#747)
  • Reading non existant volume should recreate (#749)
  • Typo in cgroup_parent handling (#746)

v3.6.1 (2025-06-05)

Chore

  • Prepare release v3.6.1 (#743)

Feat

  • allow to set the cgroup parent for container (#609)

v3.6.0 (2025-05-25)

Chore

  • Prepare release v3.6.0 (#735)

Feat

  • Implement correct cpu scheduler settings (#732)
  • Add implementaion of capabilities in docker servic (#727)
  • implement Buildx builder resource (#724)

Fix

  • Implement buildx fixes for general buildkit support and platform handling (#734)
  • Make endpoint validation less strict (#733)

v3.5.0 (2025-05-06)

Chore

  • Prepare release v3.5.0 (#721)

Feat

  • Implement using of buildx for docker_image (#717)
  • Support registries that return empty auth scope #646
  • Implement registry_image_manifests data source (#714)
  • Implement healthcheck start interval (#713)

v3.4.0 (2025-04-25)

Chore

  • Prepare release v3.4.0 (#712)

Feat

  • Implement volume_options subpath (#710)

Fix

  • Prevent recreation of image name is intentionally set to a fixed value (#711)
  • Improve container wait handling (#709)
  • Use auth_config block also for registry_image delete functionality (#708)

v3.3.0 (2025-04-19)

Chore

  • Prepare release v3.3.0 (#705)
  • Update terraform-plugin-sdk/v2 dependency (#699)
  • Update docker/docker and docker/cli to newest stable (#695)

Feat

  • Implement support for docker context (#704)
  • disable_docker_daemon_check for provider (#703)
  • Implement tag triggers for docker_tag resource (#702)
  • Implement auth_config for docker_registry_image (#701)

Fix

  • Store correctly ports from server (#698)

v3.2.0 (2025-04-16)

Chore

  • Prepare release v3.2.0 (#694)
  • Upgrade golangci-lint to next major version (#686)

Docs

  • Consolidated update of docs from several PRs (#691)

Feat

  • Implement upload permissions in docker_container resource (#693)
  • Implement docker_image timeouts (#692)
  • Add support for build-secrets (#604)

Fix

  • Authentication to ECR public (#690)

v3.1.2 (2025-04-15)

Chore

  • prepare release 3.1.2 (#688)

v3.1.1 (2025-04-14)

Chore

  • Prepare release 3.1.1 (#687)

v3.1.0 (2025-04-14)

Chore

  • Prepare release 3.1.0 (#685)
  • update Go version to 1.22 for consistency across workflows, jo… (#613)

Feat

  • support setting cpu shares (#575)

Fix

  • Use build_args everywhere and update documentation (#681)
  • Compress build context before sending it to Docker (#461)
  • Set correct default network driver and fix a test (#677)

Typo

  • s/presend/present/ (#606)

v3.0.2 (2023-03-17)

Chore

  • Prepare release v3.0.2

Docs

  • correct spelling of "networks_advanced" (#517)

Fix

  • Implement proxy support. (#529)

v3.0.1 (2023-01-13)

Chore

  • Prepare release v3.0.1

Fix

  • Access health of container correctly. (#506)

v3.0.0 (2023-01-13)

Chore

  • Prepare release v3.0.0

Docs

  • Update documentation.
  • Add migration guide and update README (#502)

Feat

  • Prepare v3 release (#503)

v2.25.0 (2023-01-05)

Chore

  • Prepare release v2.25.0

Docs

  • Add documentation of remote hosts. (#498)

Feat

  • Migrate build block to docker_image (#501)
  • Add platform attribute to docker_image resource (#500)
  • Add sysctl implementation to container of docker_service. (#499)

v2.24.0 (2022-12-23)

Chore

  • Prepare release v2.24.0

Docs

  • Fix generated website.
  • Update command typo (#487)

Feat

  • cgroupns support (#497)
  • Add triggers attribute to docker_registry_image (#496)
  • Support registries with disabled auth (#494)
  • add IPAM options block for docker networks (#491)

Fix

  • Pin data source specific tag test to older tag.

Tests

  • Add test for parsing auth headers.

v2.23.1 (2022-11-23)

Chore

  • Prepare release v2.23.1

Fix

  • Update shasum of busybox:1.35.0 tag in test.
  • Handle Auth Header Scopes (#482)
  • Set OS_ARCH from GOHOSTOS and GOHOSTARCH (#477)

v2.23.0 (2022-11-02)

Chore

  • Prepare release v2.23.0

Feat

  • wait container healthy state (#467)
  • add docker logs data source (#471)

Fix

  • Update shasum of busybox:1.35.0 tag in test.
  • Update shasum of busybox:1.35.0 tag
  • Correct provider name to match the public registry (#462)

v2.22.0 (2022-09-20)

Chore

  • Prepare release v2.22.0

Feat

  • Configurable timeout for docker_container resource stateChangeConf (#454)

Fix

  • oauth authorization support for azurecr (#451)

v2.21.0 (2022-09-05)

Chore

  • Prepare release v2.21.0

Docs

  • Fix docker config example.

Feat

  • Add image_id attribute to docker_image resource. (#450)
  • Update used goversion to 1.18. (#449)

Fix

  • Replace deprecated .latest attribute with new image_id. (#453)
  • Remove reading part of docker_tag resource. (#448)
  • Fix repo_digest value for DockerImageDatasource test.

v2.20.3 (2022-08-31)

Chore

  • Prepare release v2.20.3

Fix

  • Docker Registry Image data source use HEAD request to query image digest (#433)
  • Adding Support for Windows Paths in Bash (#438)

v2.20.2 (2022-08-10)

Chore

  • Prepare release v2.20.2

Fix

  • Check the operating system for determining the default Docker socket (#427)

Reverts

  • fix(deps): update module github.com/golangci/golangci-lint to v1.48.0 (#423)

v2.20.1 (2022-08-10)

Chore

  • Prepare release v2.20.1
  • Reduce time to setup AccTests (#430)

Docs

  • Improve docker network usage documentation [skip-ci]

Feat

  • Implement triggers attribute for docker_image. (#425)

Fix

  • Add ForceTrue to docker_image name attribute. (#421)

v2.20.0 (2022-07-28)

Chore

  • Prepare release v2.20.0
  • Fix release targets in Makefile.

Feat

  • Implementation of docker_tag resource. (#418)
  • Implement support for insecure registries (#414)

v2.19.0 (2022-07-15)

Chore

  • Prepare release v2.19.0

Feat

  • Add gpu flag to docker_container resource (#405)

Fix

  • Enable authentication to multiple registries again. (#400)
  • ECR authentication (#409)

v2.18.1 (2022-07-14)

Chore

  • Prepare release v2.18.1
  • Automate changelog generation [skip ci]

Fix

  • Improve searchLocalImages error handling. (#407)
  • Throw errors when any part of docker config file handling goes wrong. (#406)
  • Enables having a Dockerfile outside the context (#402)

v2.18.0 (2022-07-11)

Chore

  • prepare release v2.18.0

Feat

  • add runtime, stop_signal and stop_timeout properties to the docker_container resource (#364)

Fix

  • Correctly handle build files and context for docker_registry_image (#398)
  • Switch to proper go tools mechanism to fix website-* workflows. (#399)
  • compare relative paths when excluding, fixes kreuzwerker#280 (#397)

v2.17.0 (2022-06-23)

Chore

  • prepare release v2.17.0
  • Exclude examples directory from renovate.
  • remove the workflow to close stale issues and pull requests (#371)

Fix

  • update go package files directly on master to fix build.
  • correct authentication for ghcr.io registry(#349)

v2.16.0 (2022-01-24)

Chore

  • prepare release v2.16.0

Docs

  • fix service options (#337)
  • update registry_image.md (#321)
  • fix r/registry_image truncated docs (#304)

Feat

  • add parameter for SSH options (#335)

Fix

  • pass container rm flag (#322)
  • add nil check of DriverConfig (#315)
  • fmt of go files for go 1.17

v2.15.0 (2021-08-11)

Chore

  • prepare release v2.15.0
  • re go gets terraform-plugin-docs

Docs

  • corrects authentication misspell. Closes #264

Feat

  • add container storage opts (#258)

Fix

  • add current timestamp for file upload to container (#259)

v2.14.0 (2021-07-09)

Chore

  • prepare release v2.14.0

Docs

  • update to absolute path for registry image context (#246)
  • update readme with logos and subsections (#235)

Feat

  • support terraform v1 (#242)

Fix

  • Update the URL of the docker hub registry (#230)

v2.13.0 (2021-06-22)

Chore

  • prepare release v2.13.0

Docs

  • fix a few typos (#216)
  • fix typos in docker_image example usage (#213)

v2.12.2 (2021-05-26)

Chore

  • prepare release v2.12.2

v2.12.1 (2021-05-26)

Chore

  • update changelog for v2.12.1

Fix

  • add service host flattener with space split (#205)
  • service state upgradeV2 for empty auth

v2.12.0 (2021-05-23)

Chore

  • update changelog for v2.12.0
  • ignore dist folder
  • configure actions/stale (#157)
  • add the guide about Terraform Configuration in Bug Report (#139)
  • bump docker dependency to v20.10.5 (#119)

Ci

  • run acceptance tests with multiple Terraform versions (#129)

Docs

  • update for v2.12.0
  • add releasing steps
  • format Guide of Bug report (#159)
  • add an example to build an image with docker_image (#158)
  • add a guide about writing issues to CONTRIBUTING.md (#149)
  • fix Github repository URL in README (#136)

Feat

  • support darwin arm builds and golang 1.16 (#140)
  • migrate to terraform-sdk v2 (#102)

Fix

  • rewriting tar header fields (#198)
  • test spaces for windows (#190)
  • replace for loops with StateChangeConf (#182)
  • skip sign on compile action
  • assign map to rawState when it is nil to prevent panic (#180)
  • search local images with Docker image ID (#151)
  • set "ForceNew: true" to labelSchema (#152)

v2.11.0 (2021-01-22)

Chore

  • update changelog for v2.11.0
  • updates changelog for v2.10.0

Docs

  • fix legacy configuration style (#126)

Feat

  • add properties -it (tty and stdin_opn) to docker container

v2.10.0 (2021-01-08)

Chore

  • updates changelog for 2.10.0
  • ignores testing folders
  • adds separate bug and ft req templates

Ci

  • bumps to docker version 20.10.1
  • pins workflows to ubuntu:20.04 image

Docs

  • add labels to arguments of docker_service (#105)
  • cleans readme
  • adds coc and contributing

Feat

  • supports Docker plugin (#35)
  • support max replicas of Docker Service Task Spec (#112)
  • add force_remove option to r/image (#104)
  • add local semantic commit validation (#99)
  • add ability to lint/check of links in documentation locally (#98)

Fix

  • set "latest" to tag when tag isn't specified (#117)
  • image label for workflows
  • remove all azure cps

Pull Requests

  • Merge pull request #38 from kreuzwerker/ci-ubuntu2004-workflow
  • Merge pull request #36 from kreuzwerker/chore-gh-issue-tpl

v2.9.0 (2020-12-25)

Chore

  • updates changelog for 2.9.0
  • update changelog 2.8.0 release date
  • introduces golangci-lint (#32)
  • fix changelog links

Ci

  • add gofmt's '-s' option
  • remove unneeded make tasks
  • fix test of website

Doc

  • devices is a block, not a boolean

Feat

  • adds support for OCI manifests (#316)
  • adds security_opts to container config. (#308)
  • adds support for init process injection for containers. (#300)

Fix

  • changing mounts requires ForceNew (#314)
  • allow healthcheck to be computed as container can specify (#312)
  • treat null user as a no-op (#318)
  • workdir null behavior (#320)

Style

  • format with gofumpt

Pull Requests

  • Merge pull request #33 from brandonros/patch-1
  • Merge pull request #11 from suzuki-shunsuke/format-with-gofumpt
  • Merge pull request #26 from kreuzwerker/ci/fix-website-ci
  • Merge pull request #8 from dubo-dubon-duponey/patch1

v2.8.0 (2020-11-11)

Chore

  • updates changelog for 2.8.0
  • removes travis.yml
  • deactivates travis
  • removes vendor dir (#298)
  • bump go 115 (#297)
  • documentation updates (#286)
  • updates link syntax (#287)
  • fix typo (#292)

Ci

  • reactivats all workflows
  • fix website
  • only run website workflow
  • exports gopath manually
  • fix absolute gopath for website
  • make website check separate workflow
  • fix workflow names
  • adds website test to unit test
  • adds acc test
  • adds compile
  • adds go version and goproxy env
  • enables unit tests for master branch
  • adds unit test workflow
  • adds goreleaser and gh action
  • bumps docker and ubuntu versions (#241)
  • removes debug option from acc tests
  • skips test which is flaky only on travis

Deps

  • github.com/hashicorp/terraform@sdk-v0.11-with-go-modules Updated via: go get github.com/hashicorp/terraform@sdk-v0.11-with-go-modules and go mod tidy
  • use go modules for dep mgmt run go mod tidy remove govendor from makefile and travis config set appropriate env vars for go modules

Docker

  • improve validation of runtime constraints

Docs

  • update container.html.markdown (#278)
  • update service.html.markdown (#281)
  • update restart_policy for service. Closes #228
  • adds new label structure. Closes #214
  • update anchors with -1 suffix (#178)
  • Fix misspelled words
  • Fix exported attribute name in docker_registry_image
  • Fix example for docker_registry_image (#8308)
  • provider/docker - network settings attrs

Feat

  • conditionally adding port binding (#293).
  • adds docker Image build feature (#283)
  • adds complete support for Docker credential helpers (#253)
  • Expose IPv6 properties as attributes
  • allow use of source file instead of content / content_base64 (#240)
  • supports to update docker_container (#236)
  • support to import some docker_container's attributes (#234)
  • adds config file content as plain string (#232)
  • make UID, GID, & mode for secrets and configs configurable (#231)
  • adds import for resources (#196)
  • add container ipc mode. (#182)
  • adds container working dir (#181)

Fix

  • ignores 'remove_volumes' on container import
  • duplicated buildImage function
  • port objects with the same internal port but different protocol trigger recreation of container (#274)
  • panic to migrate schema of docker_container from v1 to v2 (#271). Closes #264
  • pins docker registry for tests to v2.7.0
  • prevent force recreate of container about some attributes (#269)
  • service endpoint spec flattening
  • corrects IPAM config read on the data provider (#229)
  • replica to 0 in current schema. Closes #221
  • label for network and volume after improt
  • binary upload as base 64 content (#194)
  • service env truncation for multiple delimiters (#193)
  • destroy_grace_seconds are considered (#179)

Make

  • Add website + website-test targets

Provider

  • Ensured Go 1.11 in TravisCI and README provider: Run go fix provider: Run go fmt provider: Encode go version 1.11.5 to .go-version file
  • Require Go 1.11 in TravisCI and README provider: Run go fix provider: Run go fmt

Tests

  • Skip test if swap limit isn't available (#136)
  • Simplify Dockerfile(s)

Vendor

  • github.com/hashicorp/terraform/...@v0.10.0
  • Ignore github.com/hashicorp/terraform/backend

Website

  • Docs sweep for lists & maps
  • note on docker
  • docker docs

Pull Requests

  • Merge pull request #134 from terraform-providers/go-modules-2019-03-01
  • Merge pull request #135 from terraform-providers/t-simplify-dockerfile
  • Merge pull request #47 from captn3m0/docker-link-warning
  • Merge pull request #60 from terraform-providers/f-make-website
  • Merge pull request #23 from JamesLaverack/patch-1
  • Merge pull request #18 from terraform-providers/vendor-tf-0.10
  • Merge pull request #5046 from tpounds/use-built-in-schema-string-hash
  • Merge pull request #3761 from ryane/f-provider-docker-improvements
  • Merge pull request #3383 from apparentlymart/docker-container-command-docs
  • Merge pull request #1564 from nickryand/docker_links