Merge pull request #11943 from woidda/patch-1

Update gettingstarted.md
This commit is contained in:
Sebastiaan van Stijn 2021-01-05 13:09:22 +01:00 committed by GitHub
commit c02693a1fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -318,10 +318,10 @@ Starting composetest_web_1...
$ docker-compose ps
Name Command State Ports
-------------------------------------------------------------------
composetest_redis_1 /usr/local/bin/run Up
composetest_web_1 /bin/sh -c python app.py Up 5000->5000/tcp
Name Command State Ports
-------------------------------------------------------------------------------------
composetest_redis_1 docker-entrypoint.sh redis ... Up 6379/tcp
composetest_web_1 flask run Up 0.0.0.0:5000->5000/tcp
```
The `docker-compose run` command allows you to run one-off commands for your