Merge pull request #593 from jefferybradberry/patch-1

There are two differences
This commit is contained in:
John Mulhausen 2016-11-16 11:34:18 -08:00 committed by GitHub
commit 698f8d26f4
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Runs a one-time command against a service. For example, the following command st
docker-compose run web bash
Commands you use with `run` start in new containers with the same configuration as defined by the service' configuration. This means the container has the same volumes, links, as defined in the configuration file. There two differences though.
Commands you use with `run` start in new containers with the same configuration as defined by the service' configuration. This means the container has the same volumes, links, as defined in the configuration file. There are two differences though.
First, the command passed by `run` overrides the command defined in the service configuration. For example, if the `web` service configuration is started with `bash`, then `docker-compose run web python app.py` overrides it with `python app.py`.