ElasticBeanstalk Docker host network mode

Is there a way to launch Docker containers in a host networking mode in EB environments?

  • How to add EnvironmentFile directive to systemctl using Docker with centos7/httpd base image
  • ERR_TOO_MANY_REDIRECTS in backoffice when running Prestashop in Docker
  • Can't connect to MySQL docker container created via docker-compose
  • Does all running docker containers have a separate process ID
  • Can't mount HOST folder into Amazon Docker Container?
  • Manually running container exists with code 145
  • How to use t2.nano ec2 instances in an Amazon ec2 container cluster?
  • Does restarting a Docker container “remember” initial run arguments?
  • Why is the Kafka distributed connector dying when the node I created it on is killed?
  • How to change express.js microservice application for ecs auto scaling
  • iptables not working on macvlan traffic in container
  • Could not install gems on docker container
  • One Solution collect form web for “ElasticBeanstalk Docker host network mode”

    No, as far as I know.

    Support for host networking mode was introduced in ECS in August 2016 (see issue https://github.com/aws/amazon-ecs-agent/issues/185), but it looks like it’s still missing in EB environments (at least for MultiDocker envs). I’ve tried it half a year a go and now again, it’s still not working (with attribute “networkMode”, same configuration like in ECS).

    Same question was asked in the AWS forums https://forums.aws.amazon.com/thread.jspa?messageID=741854&#741854 and the answer was also a “No”.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.