Update docker howto example to include -t option
-t will allow using psudotty such that we get line buffereing and logs show up on console right away. As suggested in docker issue: 18327 Change-Id: Ife163ab29421d568bc246027d579c78b570554c9
This commit is contained in:
parent
8d01034b3b
commit
9f38f073ac
|
@ -13,7 +13,7 @@
|
|||
############################################################################
|
||||
# Usage:
|
||||
# docker build -t craton-api:latest .
|
||||
# docker run --name craton-api -p 127.0.0.1:8080:8080 -d craton-api:latest
|
||||
# docker run -t --name craton-api -p 127.0.0.1:8080:8080 -d craton-api:latest
|
||||
# python tools/generate_fake_data.py --url http://127.0.0.1:8080/v1 --user demo --project 1 --key demo
|
||||
# curl http://127.0.0.1:8080/v1/regions -H "Content-Type: application/json" -H "X-Auth-Token: demo" -H "X-Auth-User: demo" -H "X-Auth-Project: 1"
|
||||
#############################################################################
|
||||
|
|
Loading…
Reference in New Issue