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

Support for sysctl in docker_service

Open innovate-invent opened this issue 2 years ago • 2 comments

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

Please add sysctl config to docker_service resource.

New or Affected Resource(s)

  • docker_service

Potential Terraform Configuration

resource "docker_service" "example" {
  task_spec {
    container_spec {
      sysctls = {
        net.ipv4.ip_unprivileged_port_start = 0
      }
    }
  }
}

References

  • https://docs.docker.com/engine/reference/commandline/service_create/

innovate-invent avatar Dec 24 '21 01:12 innovate-invent

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 Feb 22 '22 10:02 github-actions[bot]

@mavogel could you please reopen this issue?

innovate-invent avatar Mar 03 '22 02:03 innovate-invent