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
bb1a72c9
Commit
bb1a72c9
authored
Aug 29, 2017
by
Fabio Busatto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc for dind using overlay2
parent
6f0f65be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
doc/ci/docker/using_docker_build.md
doc/ci/docker/using_docker_build.md
+7
-3
No files found.
doc/ci/docker/using_docker_build.md
View file @
bb1a72c9
...
...
@@ -134,7 +134,7 @@ In order to do that, follow the steps:
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
variables:
DOCKER_DRIVER: overlay
DOCKER_DRIVER: overlay
2
services:
- docker:dind
...
...
@@ -248,7 +248,7 @@ aware of the following implications:
By default, when using
`docker:dind`
, Docker uses the
`vfs`
storage driver which
copies the filesystem on every run. This is a very disk-intensive operation
which can be avoided if a different driver is used, for example
`overlay`
.
which can be avoided if a different driver is used, for example
`overlay
2
`
.
1.
Make sure a recent kernel is used, preferably
`>= 4.2`
.
1.
Check whether the
`overlay`
module is loaded:
...
...
@@ -275,8 +275,12 @@ which can be avoided if a different driver is used, for example `overlay`.
```
variables:
DOCKER_DRIVER: overlay
DOCKER_DRIVER: overlay
2
```
> **Note:**
-
For more information about using OverlayFS with Docker, you can read
[
Use the OverlayFS storage driver
](
https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/
)
.
## Using the GitLab Container Registry
...
...
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