Releases: kreuzwerker/terraform-provider-docker
v4.2.0
What's Changed
- Expose attached container network addresses in
docker_networkdata source by @Copilot in #897 - docs: add missing docker_exec/buildx examples and align action name to docker_exec by @Copilot in #898
- feat: Add docker import action by @Junkern in #900
- Fix
docker_container.container_logsto return demultiplexed log content by @Copilot in #899 - Normalize
docker_servicemax_failure_ratiodiffs to prevent0vs0.0drift by @Copilot in #901 - Fix flaky
docker_containerdestroy by disabling link removal during delete by @Copilot in #902 - feat: Implement docker registry image tags resource by @Junkern in #903
- chore: Replace git-chglog with git-cliff by @Junkern in #904
- fix(deps): update module github.com/hashicorp/terraform-plugin-mux to v0.23.1 by @renovate[bot] in #905
- fix(deps): update module github.com/masterminds/semver/v3 to v3.4.0 by @renovate[bot] in #906
- chore: Prepare release 4.2.0 by @Junkern in #907
Full Changelog: v4.1.0...v4.2.0
v4.1.0
What's Changed
- feat: Implement docker_exec action by @Junkern in #885
- Allow
docker_registry_image.auth_configto mirror providerregistry_authoptional credentials by @Copilot in #887 - Add
platformsupport todocker_containerfor cross-architecture emulation by @Copilot in #886 - Avoid
docker_containerreplacement when only daemon defaultlog_optsare present by @Copilot in #888 - fix(deps): update module github.com/containerd/platforms to v1.0.0-rc.4 by @renovate[bot] in #889
- fix: Make container deletion idempotent for missing containers by @robertbreker in #891
- Fix
docker_serviceplatform flattening hash to prevent platform list drift on updates by @Copilot in #892 - Add Plugin Framework
docker_containersdata source for Docker container enumeration by @Copilot in #893 - Prevent
docker_containerread panic with CDIdevice_requestsby hardening device flattening by @Copilot in #895 - chore: Prepare release 4.1.0 by @Junkern in #896
New Contributors
- @robertbreker made their first contribution in #891
Full Changelog: v4.0.0...v4.1.0
v4.0.0
v4.0.0
This is a major release with potential breaking changes. For most users, however, no changes to terraform code are needed.
What's Changed
New Features
- feat: Add muxing to introduce new plugin framework by @Junkern in #838
- Feature: Multiple enhancements by @Junkern in #854
- Feat: Make buildx builder default by @Junkern in #855
- Feature: Add new docker container attributes by @Junkern in #857
- feat: add selinux_relabel attribute to docker_container volumes by @Junkern in #883
- feat: Add CDI device support by @jdon in #762
- feat: Implement proper parsing of GPU device requests when using gpus… by @Junkern in #881
Fixes
- fix(deps): update module golang.org/x/sync to v0.19.0 by @renovate[bot] in #828
- fix(deps): update module github.com/hashicorp/terraform-plugin-log to v0.10.0 by @renovate[bot] in #823
- fix(deps): update module github.com/morikuni/aec to v1.1.0 by @renovate[bot] in #829
- fix(deps): update module google.golang.org/protobuf to v1.36.11 by @renovate[bot] in #830
- fix(deps): update module github.com/sirupsen/logrus to v1.9.4 by @renovate[bot] in #836
- chore: Add deprecation for docker_service.networks_advanced.name by @Junkern in #837
- fix: Refactor docker container state handling to properly restart whe… by @Junkern in #841
- fix: docker container stopped ports by @Junkern in #842
- fix: correctly set docker_container devices by @Junkern in #843
- fix(deps): update module github.com/katbyte/terrafmt to v0.5.6 by @renovate[bot] in #844
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.2 by @renovate[bot] in #847
- fix: Use DOCKER_CONFIG env same way as with docker cli by @Junkern in #849
- Fix: calculation of Dockerfile path in docker_image build by @Junkern in #853
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #825
- chore(deps): update hashicorp/setup-terraform action to v4 by @renovate[bot] in #860
- fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.30.0 by @renovate[bot] in #861
- fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.18.0 by @renovate[bot] in #862
- fix(deps): update module github.com/hashicorp/terraform-plugin-mux to v0.22.0 by @renovate[bot] in #863
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.39.0 by @renovate[bot] in #864
- chore(deps): update docker/setup-docker-action action to v5 by @renovate[bot] in #866
- chore(deps): update dependency golangci/golangci-lint to v2.10.1 by @renovate[bot] in #869
- fix(deps): update module golang.org/x/sync to v0.20.0 by @renovate[bot] in #872
- Prevent
docker_registry_imagepanic on registries returning nil body without digest header by @Copilot in #880 - fix: Handle size_bytes in tmpfs_options in docker_service by @Junkern in #882
- chore(deps): update dependency golangci/golangci-lint to v2.11.4 by @renovate[bot] in #871
- fix: tests for healthcheck is not required for docker container resource by @vnghia in #834
- chore: Prepare 4.0.0 release by @Junkern in #884
New Contributors
Full Changelog: v3.9.0...v4.0.0
v4.0.0-beta2
Beta New Major Release
Please take a look at https://github.com/kreuzwerker/terraform-provider-docker/blob/master/docs/v3_v4_migration.md for breaking changes.
v4.0.0-beta1
Beta New Major Release
Please take a look at https://github.com/kreuzwerker/terraform-provider-docker/blob/master/docs/v3_v4_migration.md for breaking changes.
v3.9.0
Please note
Due to the only maintainer @Junkern not being org admin of the kreuzwerker org, he cannot update the GPG key in the terraform registry. All versions starting with v3.7.0 are signed with a new GPG key (because the old one expired) - installing this through the usual terraform registry does not work. Please set the source value to registry.opentofu.org/kreuzwerker/docker.
What's Changed
- feat: Implement caching of docker provider by @Junkern in #808
- fix: docker_service label can be updated without recreate by @Junkern in #814
- fix: test attribute of docker_service healthcheck is not required by @Junkern in #815
Chores
- chore: Prepare release v3.8.0 by @Junkern in #806
- fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.24.0 by @renovate[bot] in #807
- fix(deps): update module github.com/docker/cli to v28.5.2+incompatible by @renovate[bot] in #816
- fix(deps): update module github.com/docker/docker to v28.5.2+incompatible by @renovate[bot] in #817
- fix(deps): update module golang.org/x/sync to v0.18.0 by @renovate[bot] in #820
- chore(deps): update golangci/golangci-lint-action action to v9 by @renovate[bot] in #819
- chore: Prepare release v3.9.0 by @Junkern in #821
Full Changelog: v3.8.0...v3.9.0
v3.8.0
Please note
Due to the only maintainer @Junkern not being org admin of the kreuzwerker org, he cannot update the GPG key in the terraform registry. All versions starting with v3.7.0 are signed with a new GPG key (because the old one expired). Installing this version with terraform might lead to problems. Setting the source value to registry.opentofu.org/kreuzwerker/docker works.
What's Changed
Features
- feat: Implement docker cluster volume by @Junkern in #793
- feat: implement mac_address for networks_advanced by @Junkern in #794
- feat: Add build attribute for docker_registry_image by @Junkern in #805
- feat: Add build option for additional contexts by @Junkern in #798
Fixes
- fix(container): omit sending systempaths=unconfined to daemon by @Junkern in #796
- fix(buildx): Recreate builder if deleted out-of-band by @Junkern in #797
Chores
- fix(deps): update module google.golang.org/protobuf to v1.36.8 by @renovate[bot] in #775
- fix(deps): update module google.golang.org/protobuf to v1.36.9 by @renovate[bot] in #787
- fix(deps): update module golang.org/x/sync to v0.17.0 by @renovate[bot] in #785
- fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.23.0 by @renovate[bot] in #788
- fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.1 by @renovate[bot] in #789
- fix(deps): update module github.com/docker/cli to v28.4.0+incompatible by @renovate[bot] in #781
- fix(deps): update module google.golang.org/protobuf to v1.36.10 by @renovate[bot] in #799
- fix(deps): update module github.com/docker/cli to v28.5.0+incompatible by @renovate[bot] in #800
- fix(deps): update module github.com/docker/docker to v28.5.0+incompatible by @renovate[bot] in #782
- fix(deps): update module github.com/docker/docker to v28.5.1+incompatible by @renovate[bot] in #804
- fix(deps): update module github.com/docker/cli to v28.5.1+incompatible by @renovate[bot] in #803
Full Changelog: v3.7.0...v3.8.0
v3.7.0
Please note
Due to the only maintainer @Junkern not being org admin of the kreuzwerker org, he cannot update the GPG key in the terraform registry. All versions starting with v3.7.0 are signed with a new GPG key (because the old one expired). Installing this version with terraform might lead to problems. opentofu is fine once opentofu/registry#2844 (comment) is merged
What's Changed
- fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.22.0 by @renovate[bot] in #755
- fix(deps): update module golang.org/x/sync to v0.16.0 by @renovate[bot] in #758
- chore(deps): update dependency go to v1.24.5 by @renovate[bot] in #757
- chore(deps): update dependency go to v1.24.6 by @renovate[bot] in #764
- fix(deps): update module google.golang.org/protobuf to v1.36.7 by @renovate[bot] in #765
- fix(deps): update module github.com/docker/go-connections to v0.6.0 by @renovate[bot] in #766
- chore(deps): update actions/checkout action to v5 by @renovate[bot] in #768
- Add timeout support to docker_registry_image resource by @Copilot in #769
- fix: Correctly get and set nanoCPUs from container by @Junkern in #771
- feat: Implement cache_from and cache_to for docker_image by @Junkern in #772
- feat: Implement memory_reservation and network_mode enhancements by @Junkern in #773
- chore: Prepare release v3.7.0 by @Junkern in #774
New Contributors
- @Copilot made their first contribution in #769
Full Changelog: v3.6.2...v3.7.0
v3.6.2
What's Changed
- feat: Allow digest in image name by @Junkern in #744
- fix: Typo in cgroup_parent handling by @janLo in #746
- fix: Reading non existent volume should recreate by @Junkern in #749
- fix: Remove wrong buildkit version assignment by @Junkern in #747
- chore: Prepare release v3.6.2 by @Junkern in #750
Full Changelog: v3.6.1...v3.6.2
v3.6.1
What's Changed
- chore(ci): Add retryon429 for markdownlint by @Junkern in #736
- feat: allow to set the cgroup parent for container by @janLo in #609
- fix(deps): update module golang.org/x/sync to v0.15.0 by @renovate in #741
- chore(deps): update dependency go to v1.24.4 by @renovate in #742
- chore: Prepare release v3.6.1 by @Junkern in #743
New Contributors
Full Changelog: v3.6.0...v3.6.1