diff options
| author | Steven Dake <stdake@cisco.com> | 2015-03-28 08:11:34 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-04-06 20:25:18 -0700 |
| commit | a87980e5c21b17a60ba46cb53208140143ed8b15 (patch) | |
| tree | 04630da402ad9349b11d0d50272cda977019e585 /docker/mongodb/Dockerfile | |
| parent | 53c1ba99c82ee299877c95f97eea3d06b0bb398a (diff) | |
| download | kolla-a87980e5c21b17a60ba46cb53208140143ed8b15.tar.gz kolla-a87980e5c21b17a60ba46cb53208140143ed8b15.zip | |
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
Diffstat (limited to 'docker/mongodb/Dockerfile')
| -rw-r--r-- | docker/mongodb/Dockerfile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docker/mongodb/Dockerfile b/docker/mongodb/Dockerfile index 353df42b2..81278092f 100644 --- a/docker/mongodb/Dockerfile +++ b/docker/mongodb/Dockerfile @@ -8,6 +8,4 @@ RUN mkdir -p /data/db VOLUME /data/db VOLUME /var/log/mongodb -EXPOSE 27017 - ENTRYPOINT exec /bin/mongod --dbpath /data/db --logpath /var/log/mongodb/mongo.log --noprealloc --smallfiles |
