dubo-dubon-duponey
a36a58b792
Remove logging drivers white-list ( #209 )
...
See #207 for discussion and fixes #208
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-14 19:37:13 +02:00
dubo-dubon-duponey
cc95649930
Updated logdrivers to match docker officially supported options ( #207 )
...
Closes #204
See https://docs.docker.com/config/containers/logging/configure/ section “Supported“ logging drivers
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-13 20:38:03 +02:00
dubo-dubon-duponey
27a9f37c69
Move to standalone plugin SDK ( #200 )
...
Closes #197
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-09 20:25:38 +02:00
Manuel Vogel
2ec6bba9b7
fix: binary upload as base 64 content ( #194 )
...
Closes #48
* feat: adds new content_base64 property for upload
* feat: adds logic for base64 content processing
* test: for new upload property
* docs: for new upload property
* docs: adapts container upload to aws example docs
* fix: adds a comment for non-working conflicts with within lists
* docs: updates for non-supported conflict within lists and sets
* tests: updates notes on disabled checks
* fix: validation for container upload configs
* docs: validation for container upload configs
* fix(test): add must not run flag for invalid upload config container
2019-10-07 23:00:57 +02:00
Manuel Vogel
cb9c327ae4
fix: service env truncation for multiple delimiters ( #193 )
...
Closes #121
* test: adds failing test for service env with multiple delimiters
* fix: mapping of multiple delimiters for string slice to map
2019-10-06 12:11:11 +02:00
Matteo Castellini
f3e27203d1
Calculate digest when missing from registry response headers ( #188 )
...
Closes #186
2019-10-06 11:25:02 +02:00
Srinidhi Kaushik
11fd002b15
Add shm_size' attribute for docker_container' resource. ( #190 )
...
Closes #164
* Adds `shm_size' attribute for `docker_container' resource.
* Updates test cases.
* Updates documentation.
2019-10-06 11:16:27 +02:00
dubo-dubon-duponey
007a6db130
Add support for group-add ( #192 )
...
Fixes #191
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-06 11:13:24 +02:00
appilon
f75443a060
remove usage of config pkg ( #183 )
...
upgrade terraform sdk to v0.12.8
2019-09-23 20:15:30 +02:00
Manuel Vogel
36567a2a9b
feat: add container ipc mode. ( #182 )
...
Closes #12
2019-09-23 20:11:59 +02:00
Manuel Vogel
42031f27fb
feat: adds container working dir ( #181 )
...
Closes #146
2019-09-23 19:41:20 +02:00
Laurie Odgers
8d4a71be3d
fix: destroy_grace_seconds are considered ( #179 )
...
Closes #174
2019-08-29 20:04:50 +02:00
Ibrohim Kholilul Islam
94b94b0478
Using APIVersion negotiation instead of fixed version ( #177 )
...
Closes #137
2019-08-20 22:16:03 +02:00
Matthew Burtless
42354a7e62
Add support for sysctls ( #172 )
2019-08-15 17:23:39 +02:00
Manuel Vogel
e8bd46c3c3
ci: skips test which is flaky only on travis
2019-08-08 20:14:51 +02:00
Sid Verma
53f74755e4
Fix no-op in container when all 'ports' blocks are deleted. ( #168 )
...
* docker_container Fix no-op when all port blocks are deleted
* Update changelog for v2.1.1
* Closes #167
2019-08-02 00:16:50 +02:00
Sergei Ivanov
d305e9de04
Adds cross-platform support for generic Docker credential helper. ( #159 )
...
Support for MacOS was added in #143 , here it is extended to other OSes in a generic way.
2019-07-16 19:41:06 +02:00
Matt Keeler
a789ce2036
Update to Terraform 0.12 ( #150 ). Closes #144
...
* Update to terraform 0.12
* Fix acceptance tests to make syntax 0.12 compatible.
2019-06-11 00:24:55 +02:00
Manuel Vogel
e323be8f55
Fixes for flaky tests ( #154 )
...
* adds delay for fetching auth config
* refactor registry auth retrieval. adds retry if not found
* reactivates full build in script and travis
2019-05-31 15:08:32 +02:00
Manuel Vogel
c56d60d30f
updates docker api version to 1.39 and adapts changelog
2019-05-26 22:10:26 +02:00
Nemo
abcdd9ac29
docker_network data source ( #87 ). Closes #84
...
* Adds docker_network data source
* Adds documentation for the docker_network data source
* Adding basic network data source test
2019-05-26 21:20:01 +02:00
Manuel Vogel
8ad1a13c08
Add ssh protocol (copy) ( #153 ). Closes #112
...
* adds support for ssh protocol
* updates docker cli dependency to f337f1
* adds example for using the ssh protocol
2019-05-26 21:06:10 +02:00
Manuel Vogel
79a2b07a4a
Upgrade to go 1.11
2019-05-26 12:38:00 +02:00
Sean Bryant
a7b3f314d6
docker_container resource mounts support ( #147 )
...
* Add mounts support to docker container resource
* Source is not a required mount attribute.
* Add tmpfs map support to docker container resource
* Add tests around tmpfs map
2019-05-26 11:59:29 +02:00
Manuel Vogel
a6fdf4c2a6
Fixes for image pulling and local registry ( #143 )
...
Multiple fixes for handling private registries and login credential retrieval on OSX.
- Fixes check for image locally before pulling it: #24
- Fixes image prefix workaround: #120
- Fixes passing of the `--with-registry-auth` flag: #77
- Fixes docker registry credentials in osxkeychain: #125
2019-05-26 11:42:53 +02:00
Alex Pilon
aab8fac508
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
2019-03-11 18:19:29 -04:00
Seb Patane
1c68029ce9
Normalize a blank string to 0.0.0.0 ( #128 )
...
Works around a problem in Windows on Docker, which doesn't support providing an IP to to bind to for ports
2019-03-07 10:15:42 +01:00
Manuel Vogel
1ac859bd81
Fix container ports issue for asc ordering ( #115 )
...
* Attempts to fix container ports issue by converting list to a set.
* Revert "Attempts to fix container ports issue by converting list to a set." This reverts commit 5660759875ca65e2b8c5b9aa8b25cc3ff7eee2d9.
* adds migration state func for container. Suppresses diff for port migration
* Updates changelog for v1.1.1
2019-03-05 15:55:17 +01:00
Radek Simko
a853943351
tests: Skip test if swap limit isn't available ( #136 )
...
* tests: Skip test if swap limit isn't available
* tests: Configure provider before running test
2019-03-05 15:53:56 +01:00
Alex Pilon
a7d6b57fbd
provider: Require Go 1.11 in TravisCI and README
...
provider: Run go fix
provider: Run go fmt
2019-01-07 18:05:15 -05:00
Manuel Vogel
aaee1b5c47
Adds container logs option. Closes #108 .
2018-10-29 07:07:37 +01:00
Manuel Vogel
bc56f62190
Adds container static IPv4/IPv6 address. Marks network and network_alias as deprecated. Closes #105 .
2018-10-29 06:36:21 +01:00
Boris HUISGEN
9d67619581
Update tests
...
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-10-28 21:52:42 +01:00
Boris HUISGEN
1bc69158d2
Add logs attribute to get container logs when attach option is enabled
...
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-10-28 21:52:42 +01:00
Manuel Vogel
496abe0578
Fixes dependencies for old docker client and tests introduced by merge of #49 .
2018-10-28 21:00:44 +01:00
Manuel Vogel
f1e6ba31fa
Simplifies the image options parser. Closes #49 .
2018-10-28 09:38:17 +01:00
Manuel Vogel
e92eae80ab
Adds cpu_set to containers. Closes #41
2018-10-28 09:12:38 +01:00
Manuel Vogel
c04e51f379
Merge branch 'd-cpuset-added' of git://github.com/sunthera/terraform-provider-docker into sunthera/d-cpuset-added
2018-10-28 08:55:29 +01:00
Manuel Vogel
6b00f96a5d
Fixes bug introduced from merge of #106
2018-10-28 07:29:02 +01:00
Manuel Vogel
c9d9f08d54
Merges master
2018-10-27 10:09:03 +02:00
Manuel Vogel
f689619b2d
Adds container healthcheck.
2018-10-26 07:37:45 +02:00
Manuel Vogel
388e16630d
Adds asc sorting to container ports flattening to fix blinking test.
2018-10-26 07:24:22 +02:00
Manuel Vogel
36a92c5e89
bla
2018-10-25 09:50:33 +02:00
Boris HUISGEN
d4032c8939
Add rm and attach options to execute short-lived containers ( #106 )
...
* Adds rm, attach options and exit_code attribute. Closes #43
* Updates documentation
2018-10-25 08:01:38 +02:00
Manuel Vogel
2360eb088f
Container network fixes ( #104 )
...
* Feat/net-attr add IP address of each network to the computed attributes from #50 .
* marks ip_address as deprecated and adds network data for a container. Closes #9
* adds wait for removal of a container. Closes #98
* removes validator for container network_mode and checks error handling if container disconnect from default network fails. Closes #107
2018-10-25 07:21:48 +02:00
Boris HUISGEN
da71464d20
Fix other tests as port internal/external are not strings but int
...
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-10-20 12:47:17 +02:00
Boris HUISGEN
49e35c46b2
Add container healthcheck
...
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-10-19 21:52:42 +02:00
Boris HUISGEN
a39c7a2825
Add test
...
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-10-19 21:11:37 +02:00
Boris HUISGEN
661b8580b8
Add capability to not start container (create only)
...
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-10-19 00:40:03 +02:00
Boris HUISGEN
eca96b960b
Add labels to support docker stacks ( #92 )
...
* Add network labels and options attachable, ingress and ipv6
* Add volume labels
* Add secret labels
* Updates documentation
2018-10-18 12:39:58 +02:00