Update documentaiton

This commit is contained in:
Guillaume J. Charmes
2013-06-18 14:36:35 -07:00
parent 6e17cc45ea
commit 84ceeaa870
2 changed files with 13 additions and 2 deletions
+9 -1
View File
@@ -29,7 +29,15 @@ Examples
.. code-block:: bash
docker build -
docker build - < Dockerfile
| This will read a Dockerfile from Stdin without context. Due to the lack of a context, no contents of any local directory will be sent to the docker daemon.
| ADD doesn't work when running in this mode due to the absence of the context, thus having no source files to copy to the container.
.. code-block:: bash
docker build github.com/creack/docker-firefox
| This will clone the github repository and use it as context. The Dockerfile at the root of the repository is used as Dockerfile.
| Note that you can specify an arbitrary git repository by using the 'git://' schema.