File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ Dockerfile Requirements
2121^^^^^^^^^^^^^^^^^^^^^^^
2222In 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
You can’t perform that action at this time.
0 commit comments