Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
docs(dockerfiles): only allow one port exposed
Browse files Browse the repository at this point in the history
This is due to #1156.
  • Loading branch information
Matthew Fisher committed Aug 13, 2014
1 parent d2c97da commit d4df11e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/using_deis/using-dockerfiles.rst
Expand Up @@ -21,10 +21,14 @@ Dockerfile Requirements
^^^^^^^^^^^^^^^^^^^^^^^
In order to deploy Dockerfile applications, they must conform to the following guidelines:

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

.. note::

Dockerfiles which expose more than one port will hit `issue 1156`_.

.. attention::

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

0 comments on commit d4df11e

Please sign in to comment.