summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-07-06 16:32:59 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-07-06 16:42:52 +0200
commitd999e414b98e5ed5c634cb6f964de8ef7595c69f (patch)
tree5817b222af8d1f1f9dc2c98f9cffcd2f0319253f
parent954c1df256ac867635b31e82a032704e963a10ee (diff)
downloadgitlab-ce-d999e414b98e5ed5c634cb6f964de8ef7595c69f.tar.gz
Final touches
-rw-r--r--docker/README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/docker/README.md b/docker/README.md
index dd86cf6fa69..b3dd18c2cdf 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -31,22 +31,12 @@ sudo docker run --detach \
gitlab/gitlab-ce:latest
```
-This will start GitLab CE container and expose ports needed to access SSH, HTTP and HTTPS.
+This will download and start GitLab CE container and publish ports needed to access SSH, HTTP and HTTPS.
All GitLab data will be stored as subdirectories of `/srv/gitlab/`.
The container will automatically `restart` after system reboot.
After this you can login to the web interface as explained above in 'After starting a container'.
-## Build and publish the image
-
-This guide will also let you know how to build docker image yourself.
-Please run all the commands from the GitLab repo root directory.
-People using boot2docker should run all the commands without sudo.
-
-```bash
-sudo docker build --tag gitlab/gitlab-ce:latest
-```
-
## Where is the data stored?
The GitLab container uses host mounted volumes to store persistent data:
@@ -151,7 +141,17 @@ sudo docker run --detach \
You can then access GitLab instance at http://1.1.1.1/ and https://1.1.1.1/.
-### Publish images to Dockerhub
+### Build the image
+
+This guide will also let you know how to build docker image yourself.
+Please run the command from the GitLab repo root directory.
+People using boot2docker should run all the commands without sudo.
+
+```bash
+sudo docker build --tag gitlab/gitlab-ce:latest docker/
+```
+
+### Publish the image to Dockerhub
- Ensure the containers are running
- Login to Dockerhub with `sudo docker login`