Skip to content

Commit d4df11e

Browse files
author
Matthew Fisher
committed
docs(dockerfiles): only allow one port exposed
This is due to deis/deis#1156.
1 parent d2c97da commit d4df11e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/using_deis/using-dockerfiles.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ Dockerfile Requirements
2121
^^^^^^^^^^^^^^^^^^^^^^^
2222
In order to deploy Dockerfile applications, they must conform to the following guidelines:
2323

24-
* The Dockerfile must EXPOSE at least one port
24+
* The Dockerfile must EXPOSE only one port
2525
* The first exposed port must be an HTTP service that can be connected to an HTTP router
2626
* A default CMD must be specified for running the container
2727

28+
.. note::
29+
30+
Dockerfiles which expose more than one port will hit `issue 1156`_.
31+
2832
.. attention::
2933

3034
Support for non-HTTP services is coming soon
@@ -127,4 +131,5 @@ Deis also supports scaling other process types as defined in a `Procfile`_. To
127131
.. _`Dockerfile`: http://docs.docker.io/en/latest/use/builder/
128132
.. _`Docker Image`: http://docs.docker.io/introduction/understanding-docker/
129133
.. _`CMD instruction`: http://docs.docker.io/reference/builder/#cmd
134+
.. _`issue 1156`: https://github.com/deis/deis/issues/1156
130135
.. _`Procfile`: https://devcenter.heroku.com/articles/procfile

0 commit comments

Comments
 (0)