There are two differences

Add missing word.
This commit is contained in:
Jeffery Bradberry 2016-11-16 04:43:22 -05:00 committed by GitHub
parent 089d9100fd
commit b68ad3aced
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`.