Suzuki Shunsuke
f213e3a348
style: format with gofumpt
...
https://github.com/mvdan/gofumpt
```
$ gofumpt -l -s -w docker/*
```
2020-12-12 19:26:11 +09:00
Manuel Vogel
a7f6cc9300
fix(service): ports flattening ( #233 )
...
Closes #222
* fix(service): changes ports from set to list. adapts tests. marks published port computed. uses endpoint spec from api to flatten.
2019-12-27 16:48:21 +01:00
Manuel Vogel
f4dd2188f1
feat: make UID, GID, & mode for secrets and configs configurable ( #231 )
...
Closes #216
* feat(service): makes uid, gid and file mode configurable
* docs(service): updates config and secret configuration
2019-12-18 19:04:01 +01:00
Manuel Vogel
fe7f625ad9
fix: replica to 0 in current schema. Closes #221
2019-12-17 18:11:21 +01:00
Manuel Vogel
e8321d7a0e
Merge branch 'xf/allow-zero-replicas' of git://github.com/xanderflood/terraform-provider-docker into xanderflood-xf/allow-zero-replicas
2019-12-17 18:08:28 +01:00
Manuel Vogel
2c8e63b44d
Merge branch 'xf/labels-iface' of git://github.com/xanderflood/terraform-provider-docker into xanderflood-xf/labels-iface
2019-12-17 17:28:09 +01:00
Manuel Vogel
434ca8c64b
feat: adds import for resources ( #196 )
...
Closes #99 . Adds import for config service volume
2019-11-23 14:42:05 +01:00
Xander Flood
15c89f00a2
allow zero replicas
2019-11-17 10:35:28 -05:00
Xander Flood
d878091f95
refactor migration code and fix a couple tests
2019-11-14 17:44:58 -05:00
Xander Flood
b9d61dc535
some more migration
2019-11-14 17:10:48 -05:00
Xander Flood
080d80702a
service
2019-11-14 08:06:50 -05:00
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
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
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
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
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