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
Léo-Paul Géneau
gitlab-ce
Commits
e741edc2
Commit
e741edc2
authored
9 years ago
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Self build images require different build commands.
parent
8f142c4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
docker/README.md
docker/README.md
+6
-1
No files found.
docker/README.md
View file @
e741edc2
...
...
@@ -94,7 +94,12 @@ sudo docker build --tag gitlab-data docker/data/
sudo
docker build
--tag
gitlab-app:7.10.1 docker/app/
```
After this run the images as described in the previous section.
After this run the images:
```
bash
sudo
docker run
--name
gitlab-data gitlab-data /bin/true
sudo
docker run
--detach
--name
gitlab-app
--publish
8080:80
--publish
2222:22
--volumes-from
gitlab-data gitlab-app:7.10.1
```
We assume using a data volume container, this will simplify migrations and backups.
This empty container will exist to persist as volumes the 3 directories used by GitLab, so remember not to delete it.
...
...
This diff is collapsed.
Click to expand it.
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