Martin
e708af48e5
feat: implement Buildx builder resource ( #724 )
2025-05-09 16:00:42 +02:00
Martin
b9181a75e4
feat: Implement using of buildx for docker_image ( #717 )
...
* feat: Implement using of buildx for docker_image
* fix: secrets in docker_image
* fix: fmt issues
* test: Add test for build_log_file
* chore: Disable flaky test and update goreleaser to exclude not possible build
* feat: Small refactoring and documentation improvements
2025-05-06 22:21:09 +02:00
Pavel Motyrev
46a6a72595
feat: Support registries that return empty auth scope #646
2025-04-29 16:21:08 +02:00
Martin
62970c2d5a
feat: Implement registry_image_manifests data source ( #714 )
...
* feat: Implement registry_image_manifests data source
* fix: Golint errors
2025-04-29 06:19:37 +02:00
Martin
d638dddb1e
feat: Implement healthcheck start interval ( #713 )
2025-04-27 16:03:02 +02:00
Martin
0d414d194b
fix: Prevent recreation of image name is intentionally set to a fixed value ( #711 )
...
* fix: Prevent recreation of image name is intentionally set to a fixed value
* chore: Fix linting and formatting
2025-04-25 08:49:44 +02:00
Martin
42249d3144
feat: Implement volume_options subpath ( #710 )
2025-04-24 23:13:01 +02:00
Martin
0663aeb1a4
fix: Improve container wait handling ( #709 )
...
* fix: Improve container wait handling
* chore: Noop change to trigger CI
* fix: Adapt expected error regexp
2025-04-24 22:15:05 +02:00
Martin
9466469b45
fix: Use auth_config block also for registry_image delete functionality ( #708 )
2025-04-24 18:29:42 +02:00
Martin
54649a1909
feat: Implement support for docker context ( #704 )
2025-04-18 23:22:06 +02:00
Martin
e47077458c
feat: disable_docker_daemon_check for provider ( #703 )
2025-04-18 19:25:13 +02:00
Martin
5aced9fca7
feat: Implement tag triggers for docker_tag resource ( #702 )
2025-04-18 18:00:22 +02:00
Martin
98ccee6b68
feat: Implement auth_config for docker_registry_image ( #701 )
...
* feat: Implement auth_config for docker_registry_image
* fix: Formatting
2025-04-18 17:16:05 +02:00
Martin
cf07eb7dc9
chore: Update terraform-plugin-sdk/v2 dependency ( #699 )
2025-04-18 12:15:43 +02:00
Martin
6f144047c4
fix: Store correctly ports from server ( #698 )
2025-04-17 21:56:12 +02:00
Martin
13998c12bb
chore: Update docker/docker and docker/cli to newest stable ( #695 )
...
* chore: Updatedocker/docker and docker/cli to newest stable
* fix: Update docker_container capabilities test
* fix: Update setting of network options
2025-04-17 19:22:08 +02:00
Martin
d5e501c65b
feat: Implement upload permissions in docker_container resource ( #693 )
2025-04-16 09:12:51 +02:00
Martin
4b2fdcc868
feat: Implement docker_image timeouts ( #692 )
2025-04-15 21:47:43 +02:00
Martin
50afa9f1f5
docs: Consolidated update of docs from several PRs ( #691 )
...
Contains the changes of the following PRs
https://github.com/kreuzwerker/terraform-provider-docker/pull/576 @triggerNZ
https://github.com/kreuzwerker/terraform-provider-docker/pull/536 @Tyonar
https://github.com/kreuzwerker/terraform-provider-docker/pull/539 @matthew-palmer
https://github.com/kreuzwerker/terraform-provider-docker/pull/541 @siddharthab
https://github.com/kreuzwerker/terraform-provider-docker/pull/546 @akeamc
https://github.com/kreuzwerker/terraform-provider-docker/pull/549 @manju-rn
https://github.com/kreuzwerker/terraform-provider-docker/pull/665 @tparikka
https://github.com/kreuzwerker/terraform-provider-docker/pull/559 @tk3fftk
2025-04-15 20:04:02 +02:00
Martin
4a46383d4c
fix: Authentication to ECR public ( #690 )
...
Originally proposed by @achille-roussel in https://github.com/kreuzwerker/terraform-provider-docker/pull/666
2025-04-15 19:05:52 +02:00
Martin
dacb5dfe73
chore: Upgrade golangci-lint to next major version ( #686 )
...
* chore: Upgrade golangci-lint to next major version
* chore: Add //nolint to new tests
---------
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-15 18:54:25 +02:00
Emanuel Skrenković
64b95701e3
feat: Add support for build-secrets ( #604 )
...
Enables passing of build-secrets through the 'secrets' block inside
'build'.
The feature is only available when using Buildkit.
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-15 09:15:04 +02:00
Martin
f1630865be
fix: Use build_args everywhere and update documentation ( #681 )
...
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-11 22:54:57 +02:00
Benjamin Staffin
ae80eb7d7b
fix: Compress build context before sending it to Docker ( #461 )
...
This fixes #439 by gzipping the build context, which prevents the Docker
API from misinterpreting the stream as a plain text Dockerfile.
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-11 13:03:00 +02:00
Christoph Landsdorf
7e1842ccd6
feat: support setting cpu shares ( #575 )
...
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-11 12:38:28 +02:00
djarbz
cc276ca937
Ignore error message case in comparison for ignorable messages. ( #583 )
...
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-11 12:08:17 +02:00
Martin
f0dd96dbcd
fix: Set correct default network driver and fix a test ( #677 )
...
* fix: Set correct default network driver and fix a test
* fix: Update used google_containers/pause image tag
---------
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-11 11:41:07 +02:00
Joe Atzberger
aae4820ad4
Typo: s/presend/present/ ( #606 )
...
Co-authored-by: Jonatan Reiners <jonatan.reiners@kreuzwerker.de>
2024-05-09 08:54:08 +02:00
Jonatan Reiners
09528d1c0e
chore: update Go version to 1.22 for consistency across workflows, jo… ( #613 )
...
* chore: update Go version to 1.22 for consistency across workflows, jobs, and modules.
* build: Update GitHub Actions setup-go and golangci-lint versions.
* refactor: Replace ioutil.ReadFile and ioutil.ReadAll with os.ReadFile and io.ReadAll.
* go fmt
* 🔄 Update actions/checkout and actions/setup-go to v4 and v5, respectively.
* ✨ Refactor: Add b64 function to convert file to base64 in testacc_setup.sh.
* ✨ Update Go version requirement in CONTRIBUTING.md.
* ✨ Fix typo and improve error message format.
* ✨ enhance: Improve error message in TestAccDockerContainer_uploadAsBase64.
* ✨ Fix: Update file permissions for test2.txt in docker container tests.
2024-05-08 14:59:49 +02:00
Martin
586de757d8
fix: Implement proxy support. ( #529 )
2023-03-17 16:15:41 +01:00
Gustavo Michels
b15ea021d7
feat(container): add MAC address to state ( #523 )
...
Co-authored-by: Gustavo Michels <gmichels@nanthealth.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2023-03-15 13:42:33 +01:00
Martin
b15d5696a7
fix: Access health of container correctly. ( #506 )
2023-01-13 15:57:26 +01:00
Martin
646d3aa154
feat: Prepare v3 release ( #503 )
...
* feat: Remove deprecated docker_container attributes.
* feat: Remove deprecated docker_service atttribute.
* feat: Remove deprecated `build` attribute from docker_registry_image.
* feat: Remove deprecated attributes of docker_image.
* docs: Generate and update documentation.
* fix: Add MigrateState for docker_container again.
* docs: Fix docs linting errors.
* docs: Fix tf formatting in docs.
2023-01-13 13:11:51 +01:00
Martin
0f65e0577a
docs: Add migration guide and update README ( #502 )
2023-01-09 11:25:28 +01:00
Martin
661c6628ff
feat: Migrate build block to docker_image ( #501 )
...
* feat: docker_image now has all build capabilities from docker_registry_image
* tests: Move all docker_registry_image build tests to docker_image.
* fix: Change build.context to optional.
* docs: Update docs.
2023-01-05 13:27:40 +01:00
Manuel Vogel
a5332be18d
feat(service): add alias for networks ( #241 )
...
* feat(service): outlines alias for networks
* feat: Add driver_opts sub-attribute.
* fix: network driver options type conversions.
* fix: Temporarily fix docker_service tests.
Co-authored-by: Martin <Junkern@users.noreply.github.com>
Co-authored-by: Martin Wentzel <martin.wentzel@kreuzwerker.de>
2023-01-04 14:03:13 +01:00
Martin
5ffe0f3628
feat: Add platform attribute to docker_image resource ( #500 )
...
* feat: Add platform attribute to docker_image resource
* docs: Add updated docker_image documentation.
2022-12-28 11:38:42 +01:00
Martin
19191883d5
feat: Add sysctl implementation to container of docker_service. ( #499 )
2022-12-23 15:29:17 +01:00
Martin
8a4be13ce1
feat: cgroupns support ( #497 )
...
* feat: Add cgroupns mode to docker container.
* docs: Create docs.
2022-12-23 10:45:12 +01:00
Joseph Lenox
9233454972
feat: Add triggers attribute to docker_registry_image ( #496 )
...
Co-authored-by: WassimKallel <wassimkallel@think-it.io>
2022-12-22 19:48:04 +01:00
Martin
380cebf01e
feat: Support registries with disabled auth ( #494 )
...
* feat: Support registries with no auth.
* tests: Test registry with disabled auth.
* docs: Update provider documentation.
2022-12-22 16:55:26 +01:00
Martin Wentzel
0017485163
tests: Add test for parsing auth headers.
2022-12-22 14:49:05 +01:00
Joseph Lenox
3f67a3df9d
feat: add IPAM options block for docker networks ( #491 )
...
* Hack in IPAM options as they are the same data structure as network options.
* Add IPAM options to read refresh
* docs: Add `ipam_options` to network documentation.
* docs: Revise IPAM options documentation to make more clear as to what it does.
* refactor: remove Computed options as prompted from review
2022-12-21 17:24:51 +01:00
Martin Wentzel
3b904484f4
fix: Pin data source specific tag test to older tag.
...
The new one gets constantly a new sha that's why tests always fail.
2022-12-16 15:17:35 +01:00
Andre Miras
6d936c58d9
docs: Update command typo ( #487 )
...
Doc regenerated with `make website-generation`
2022-12-15 10:50:34 +01:00
Martin Wentzel
3ccc15181b
fix: Update shasum of busybox:1.35.0 tag in test.
2022-11-23 16:50:16 +01:00
Timi Aiyemo
42d37d3214
fix: Handle Auth Header Scopes ( #482 )
...
* fix: check for auth header length
* fix: expand url scope
2022-11-22 17:11:02 +01:00
Martin Wentzel
fe48121dc1
fix: Update shasum of busybox:1.35.0 tag in test.
2022-11-02 10:03:57 +01:00
Boris HUISGEN
e1cf4151a1
feat: wait container healthy state ( #467 )
2022-11-02 09:19:45 +01:00
Buk Bukowski
3534622b92
feat: add docker logs data source ( #471 )
...
* working docker-logs
Signed-off-by: bukowa <gitbukowa@gmail.com>
* add tests
Signed-off-by: bukowa <gitbukowa@gmail.com>
* add description to logs_list_string
Signed-off-by: bukowa <gitbukowa@gmail.com>
* allow discarding docker-logs headers
Signed-off-by: bukowa <gitbukowa@gmail.com>
* add auto generated docs
Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>
Signed-off-by: bukowa <gitbukowa@gmail.com>
Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>
2022-10-17 13:50:45 +02:00