Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 903 Bytes

enable-docker-bridge-network.md

File metadata and controls

23 lines (17 loc) · 903 Bytes

Enable Docker Bridge Network

The latest versions of the AWS EKS-optimized AMI disable the docker bridge network by default. To enable it, add the bootstrap_extra_args parameter to your worker group template.

locals {
  worker_groups = [
    {
      # Other parameters omitted for brevity
      bootstrap_extra_args = "--enable-docker-bridge true"
    }
  ]
}

Examples of when this would be necessary are:

  • You are running Continuous Integration in K8s, and building docker images by either mounting the docker sock as a volume or using docker in docker. Without the bridge enabled, internal routing from the inner container can't reach the outside world.

See More