ElasticBeanstalk Docker host network mode

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

  • Delete a recreate a docker container using the same volume
  • Simple Flask application with debug set to True is not reloading in Docker?
  • Docker mounts empty directories on containers
  • How to change permissions of a docker mounted volume on OSX to work with Nginx web server running Laravel 5.1?
  • How do I send app logs to Elasticsearch from within a Dockerized Node app?
  • Docker: why installing a linux dist inside the container?
  • After building a docker image how can I run the image without pushing to docker hub?
  • How can I check that Openwhisk gets invoked?
  • Mounted ConfigMap not setting environment variables
  • Different behaviour between 'docker run' and running command from bash within container
  • Unable to connect to docker hub from China
  • Live migration of a jboss/wildfly container with CRIU failed
  • 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.