From a87980e5c21b17a60ba46cb53208140143ed8b15 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sat, 28 Mar 2015 08:11:34 -0700 Subject: Remove EXPOSE options from Dockerfiles The EXPOSE options will create a local docker-proxy. This is unnecessary with --net=host mode. The docker-proxy adds about 20 microseconds of latency. Add documentation to the specification to indicate where to find the ports that are exposed by the services in case someone were to desire to add EXPOSE back to the Dockerfiles. Change-Id: I398e922fe096d6022a2d5985bb92498f89a5ea31 --- docker/nova-controller/nova-api/Dockerfile | 2 -- 1 file changed, 2 deletions(-) (limited to 'docker/nova-controller/nova-api') diff --git a/docker/nova-controller/nova-api/Dockerfile b/docker/nova-controller/nova-api/Dockerfile index 2ac871dad..12a2add20 100644 --- a/docker/nova-controller/nova-api/Dockerfile +++ b/docker/nova-controller/nova-api/Dockerfile @@ -4,8 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla) RUN yum -y install \ openstack-nova-api && yum clean all -EXPOSE 8773 8774 8775 - ADD ./start.sh /start.sh ADD ./check.sh /check.sh -- cgit v1.2.3