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
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
769f775d38
Image can be pulled with its repo digest ( #97 )
...
* adds repo digests to local image structure. Closes #79
* updates CHANGELOG
2018-10-12 08:43:28 +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
f8a9755fcd
Fix/cert material ( #91 )
...
* Fixes connection via TLS to docker host with file contents. Closes #86
* Fixes skip of TLS verification if ca_material is not present. Closes #14
2018-09-26 18:27:04 +02:00
Manuel Vogel
80fd7b1724
Fix/map to slice expander ( #82 )
...
* Updates docker deps to 65bd038
* Fixes map val to string slice expander
2018-08-06 14:21:02 +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
Manuel Vogel
b8e0571919
Update/docker-18-03-1 ( #68 )
...
* updates travis to use Docker 18.03.1
* implements up to Docker API 1.37
2018-05-29 11:28:43 +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
Manuel Vogel
7e5bb1e872
Fix service flatteners ( #66 )
...
* fixed the endpoint flattener
* uses the swarm endpoint spec now instead
2018-05-18 12:14:02 +02:00
Manuel Vogel
dc824c1030
Feat/swarm 4 new resources ( #40 )
...
Adds docker swarm features to the provider for the Docker Engine 17.09.1 and API Version 1.32.
The spec is close to the API. By default, the swarm services are fire and forget. A converging config implements the features of the docker cli to ensure a service and all its replicas are up and running. Furthermore, service can have configs, secrets, networks, mounts and be added to a network.
2018-05-16 18:00:04 +02:00
Manuel Vogel
ee31d90565
Fixed test for ulimits on containers
2018-04-20 12:07:35 +02: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
Manuel Vogel
c8c1f9e662
Fixing build and private image
2018-04-10 08:47:28 +02:00
Nemo
49bb47b68d
Marks the links property as deprecated
2018-04-02 11:49:45 +05:30
Manuel Vogel
36fd7383c3
Update go-dockerclient
2018-02-22 08:09:18 +01:00
Manuel Vogel
d7038e7560
Feat/swarm 3 acc test infra ( #39 )
...
* Set up test infrastructure with local registry and custom images.
* Updated travis docker version and usage of new test infra.
* Made acc tests constantly output test results.
* Tmp acc test files are ignored.
* Fixed tests with new infra.
* Allowing insecure registries for acc tests. Added fallback for v1 registries.
* Added private image cleanup after tests.
* Refined acc test structure to confirm tf provider standards with make testacc.
2018-02-09 13:11:30 -06:00
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
Manuel Vogel
656c8a8c2f
Feat/swarm 1 update deps ( #37 )
...
* Removed id attribute of the network resource.
* Update dependencies. Mainly `go-dockerclient`
2018-01-24 09:31:23 +01:00
Peter Nyilas
98bede4dbe
add prefix 'library' only to official images in the path ( #27 )
2018-01-02 10:31:06 +01:00
Sébastien Maccagnoni
b06fa7e2ba
Allow the awslogs log driver ( #28 )
2018-01-02 10:25:42 +01:00
Manuel Vogel
76925f68f8
Feat/private registry support ( #21 )
...
* Add support for private registry auth. Adapted documentation and tests.
* Clarified README.
2017-11-21 10:14:07 +01:00
Jake Champlin
e23185d484
Transfer docker provider
2017-06-06 11:50:32 -04:00