diff options
author | Stefan Schweter <stefan@schweter.it> | 2015-06-11 17:14:20 +0200 |
---|---|---|
committer | Stefan Schweter <stefan@schweter.it> | 2015-06-11 17:44:12 +0200 |
commit | e77b20872e429439da0716d83e0f692733e4f4d0 (patch) | |
tree | 3648a3397da3ba99806c24df73b0597a30db486e /docker/README.md | |
parent | 9735580188492e26724f7d9ce42c2e24217012c1 (diff) | |
download | gitlab-ce-e77b20872e429439da0716d83e0f692733e4f4d0.tar.gz |
[Docker][Documentation] Uses new docker data image from Docker Hub (*sytse/gitlab-data*). Uniform tag name for data image is now *gitlab-data*.
Diffstat (limited to 'docker/README.md')
-rw-r--r-- | docker/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docker/README.md b/docker/README.md index 46b21348364..3edce5ef561 100644 --- a/docker/README.md +++ b/docker/README.md @@ -80,7 +80,7 @@ sudo docker pull sytse/gitlab-app:7.10.1 ```bash sudo docker run --name gitlab-data sytse/gitlab-data /bin/true -sudo docker run --detach --name gitlab_app --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data sytse/gitlab-app:7.10.1 +sudo docker run --detach --name gitlab-app --publish 8080:80 --publish 2222:22 --volumes-from gitlab-data sytse/gitlab-app:7.10.1 ``` After this you can login to the web interface as explained above in 'After starting a container'. @@ -130,7 +130,7 @@ It Assumes that you're upgrading from 7.8.1 to 7.10.1 and you're in the updated sudo docker stop gitlab-app sudo docker rm gitlab-app sudo docker build --tag gitlab-app:7.10.1 docker/app/ -sudo docker run --detach --name gitlab-app --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data gitlab-app:7.10.1 +sudo docker run --detach --name gitlab-app --publish 8080:80 --publish 2222:22 --volumes-from gitlab-data gitlab-app:7.10.1 ``` On the first run GitLab will reconfigure and update itself. If everything runs OK don't forget to cleanup the app image: @@ -143,13 +143,13 @@ sudo docker rmi gitlab-app:7.8.1 - Ensure the containers are running - Login to Dockerhub with `sudo docker login` -- Run the following (replace '7.9.2' with the version you're using and 'Sytse Sijbrandij' with your name): +- Run the following (replace '7.10.1' with the version you're using and 'Sytse Sijbrandij' with your name): ```bash sudo docker commit -m "Initial commit" -a "Sytse Sijbrandij" gitlab-app sytse/gitlab-app:7.10.1 sudo docker push sytse/gitlab-app:7.10.1 -sudo docker commit -m "Initial commit" -a "Sytse Sijbrandij" gitlab_data sytse/gitlab_data -sudo docker push sytse/gitlab_data +sudo docker commit -m "Initial commit" -a "Sytse Sijbrandij" gitlab-data sytse/gitlab-data +sudo docker push sytse/gitlab-data ``` ## Troubleshooting |