ElasticBeanstalk Docker host network mode

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

  • Docker: Permissions for a mounted volume
  • Docker installation on 16.04 LTS
  • using docker plugin on jenkins -
  • How to make docker container to be accessed only in intranet
  • Nginx fail on Docker deployment to Amazon
  • docker network port binding
  • Use Php in Docker Apache
  • Deploying Perl Docker Container to Elastic Beanstalk
  • Docker - Share environment variables with referenced volume containers
  • docker connect from container to public ip of host
  • Printing from inside a docker container
  • How to select Docker host to use with new Eclipse Liberty WDT tools
  • 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.