terraform-provider-docker
terraform-provider-docker copied to clipboard
Support for detachable containers
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
now many people run commands like tail -f /dev/null or sleep 600000000, may be it is good to add explicit option(like -d in docker)
New or Affected Resource(s)
- docker_container detach flag
Potential Terraform Configuration
resource "docker_container" "container" {
image = docker_image.base.image_id
name = name
tty = true
detach = true
}