Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
d999e414
Commit
d999e414
authored
Jul 06, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final touches
parent
954c1df2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
docker/README.md
docker/README.md
+12
-12
No files found.
docker/README.md
View file @
d999e414
...
@@ -31,22 +31,12 @@ sudo docker run --detach \
...
@@ -31,22 +31,12 @@ sudo docker run --detach \
gitlab/gitlab-ce:latest
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/`
.
All GitLab data will be stored as subdirectories of
`/srv/gitlab/`
.
The container will automatically
`restart`
after system reboot.
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'.
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?
## Where is the data stored?
The GitLab container uses host mounted volumes to store persistent data:
The GitLab container uses host mounted volumes to store persistent data:
...
@@ -151,7 +141,17 @@ sudo docker run --detach \
...
@@ -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/.
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
-
Ensure the containers are running
-
Login to Dockerhub with
`sudo docker login`
-
Login to Dockerhub with
`sudo docker login`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment