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
b18dfc8d
Commit
b18dfc8d
authored
May 07, 2015
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to commit when using a dockerfile.
parent
cb4e16b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docker/README.md
docker/README.md
+4
-4
No files found.
docker/README.md
View file @
b18dfc8d
...
...
@@ -51,19 +51,19 @@ After this you can login to the web interface as explained in 'After starting a
Build the image:
```
bash
sudo
docker build
--tag
gitlab-ce
docker/single/
sudo
docker build
--tag
sytse/gitlab-ce:7.10.1
docker/single/
```
Publish the image to Dockerhub:
```
bash
sudo
docker commit
-m
"Initial commit"
-a
"Sytse Sijbrandij"
gitlab-ce sytse/gitlab-ce:7.10.1
sudo
docker push sytse/gitlab-ce:7.10.1
sudo
docker push sytse/gitlab-ce
```
Troubleshoot
:
Diagnosing commands
:
```
bash
docker run
-i
-t
-v
`
pwd
`
/var-opt-gitlab:/var/opt/gitlab
-v
`
pwd
`
/var-log-gitlab:/var/log/gitlab
-v
`
pwd
`
/etc-gitlab:/etc/gitlab sytse/gitlab-ce:7.10.1
sudo
docker run
-ti
-e
TERM
=
linux
--name
gitlab-ce-troubleshoot
--publish
8080:80
--publish
2222:22 sytse/gitlab-ce:7.10.1 bash /usr/local/bin/wrapper
```
...
...
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