terraform-provider-docker icon indicating copy to clipboard operation
terraform-provider-docker copied to clipboard

Allow setting network alias on docker_service

Open mavogel opened this issue 3 years ago • 3 comments

This issue was originally opened by @eliasbrange as https://github.com/hashicorp/terraform-provider-docker/issues/111. It was migrated here as a result of the community provider takeover from @kreuzwerker. The original body of the issue is below.


According to the docs it is only possible to set network aliases on docker_container resources. We would like this possibility on docker_service resources aswell.

When creating services with the docker cli it is possible to do --network-add name=NAME,alias=ALIAS.

Terraform Version

$ terraform -v

Terraform v0.11.8
+ provider.docker v1.1.0

Affected Resource(s)

  • docker_service

mavogel avatar Dec 25 '20 19:12 mavogel

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. If you don't want this issue to be closed, please set the label pinned.

github-actions[bot] avatar Mar 29 '21 10:03 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. If you don't want this issue to be closed, please set the label pinned.

github-actions[bot] avatar Jun 06 '21 10:06 github-actions[bot]

moved to next major as it will contain a Breaking Change

mavogel avatar Jun 30 '21 20:06 mavogel