summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-26 16:42:20 -0400
committerUnknwon <u@gogs.io>2016-03-26 16:42:20 -0400
commitac53bb593d12bac3b44380defe73d13e728cd142 (patch)
tree8907912c671463e5c167a021ded4fc52d1d0e15c /docker
parentdd36c431ece67e47beb0e64070015808627538e5 (diff)
downloadgitea-ac53bb593d12bac3b44380defe73d13e728cd142.tar.gz
gitea-ac53bb593d12bac3b44380defe73d13e728cd142.zip
#2878 print error of JSON unmarshal and always returns a valid object
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
index 07bf780c3f..1b18b8e787 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -43,9 +43,11 @@ If you're more comfortable with mounting data to a data container, the commands
```
# Create data container
docker run --name=gogs-data --entrypoint /bin/true gogs/gogs
+
# Use `docker run` for the first time.
docker run --name=gogs --volumes-from gogs-data -p 10022:22 -p 10080:3000 gogs/gogs
```
+
#### Using Docker 1.9 Volume command
```