From 7dda58a940a8ecb25606146397af3c80d20dc53e Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Tue, 27 Sep 2016 13:14:48 -0400 Subject: [PATCH] README: fix docker instructions --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7031e0a..fc109b2 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,12 @@ An explanation of the available keys can be found in [CONFIGURATION.md]. ### Docker ```sh -$ docker pull quay.io/jzelinskie/chihaya:latest -$ export CHIHAYA_LOG_LEVEL=5 # most verbose, and the default -$ docker run -p 6880-6882:6880-6882 -v $PATH_TO_DIR_WITH_CONF_FILE:/config:ro -e quay.io/jzelinskie/chihaya:latest -v=$CHIHAYA_LOG_LEVEL +# Create a config directory and download the example config +mkdir $HOME/chihaya-config +curl -L https://raw.githubusercontent.com/chihaya/chihaya/release-v1.0/example_config.json -o $HOME/chihaya-config/config.json + +# Run the container with the config directory mounted +docker run -p 6880-6882:6880-6882 -v $HOME/chihaya-config:/config:ro quay.io/jzelinskie/chihaya:v1.0.0 -v=5 ``` ## Developing Chihaya