Commit graph

37 commits

Author SHA1 Message Date
Manuel Vogel
42031f27fb
feat: adds container working dir (#181)
Closes #146
2019-09-23 19:41:20 +02:00
Matthew Burtless
42354a7e62 Add support for sysctls (#172) 2019-08-15 17:23:39 +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
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
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
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
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
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
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
49e35c46b2 Add container healthcheck
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-10-19 21:52:42 +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
Manuel Vogel
f710743d71
Support for random external port for containers (#103)
* fixes container port mapping by switching from set to list. Closes #102 
* adapts mapper and flattener
* updates CHANGELOG
2018-10-16 18:49:57 +02:00
Manuel Vogel
b1b79b5743
Adds pid and namespace mode (#96)
* adds `pid` and `userns` mode for containers. Closes #88 and #17 
* updates CHANGELOG
2018-10-11 10:55:18 +02:00
Manuel Vogel
85e56c1ab0
fixes ports on containers (#95)
- `docker_container` needs only internal port to be specified. Closes #8 and #89 for the documentation
- `docker_container` writes external port now correctly into `tfstate`. Closes #73
2018-10-09 22:32:26 +02:00
Manuel Vogel
1f563cc913
Migrate/docker-client (#70)
Migrates to the official docker client to connect to the Docker API/Deamon. Closes #32
2018-07-03 17:30:53 +02:00
kt
593272e037
Merge pull request #47 from captn3m0/docker-link-warning
deprecate and add warning about the link feature
2018-05-24 22:07:38 -07:00
Conor Mongey
77420b1bd6 Add Ulimits to containers (#35)
* Add Ulimits
* added tests
2018-04-20 11:35:49 +02:00
Sid Verma
97599ecb3d Add ability to upload executable files (#55)
* Add ability to upload executable files
2018-04-20 11:30:45 +02:00
Sid Verma
46d1fc59eb Add support to attach devices to containers (#54) 2018-04-20 11:14:44 +02:00
Nemo
49bb47b68d Marks the links property as deprecated 2018-04-02 11:49:45 +05:30
Manuel Vogel
5a40076c95
Feat/swarm 2 refactorings (#38)
* Removed id attribute of network resource.
* Extracted common validators. Removed custom hash functions.
2018-01-29 12:01:46 +01:00
Dmitry
ea9a34f65f fmt 2018-01-24 23:21:23 +02:00
Dmitry
cd0b52d19f cpuset added 2018-01-24 23:03:01 +02:00
Sébastien Maccagnoni
b06fa7e2ba Allow the awslogs log driver (#28) 2018-01-02 10:25:42 +01:00
Jake Champlin
e23185d484
Transfer docker provider 2017-06-06 11:50:32 -04:00
Renamed from resource_docker_container.go (Browse further)