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
9e7e0496
Commit
9e7e0496
authored
Aug 29, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docs-update-dind-overlay2' into 'master'
Update doc for dind using overlay2 See merge request !13885
parents
3c25806a
bb1a72c9
Changes
1
Show 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 @
9e7e0496
...
@@ -134,7 +134,7 @@ In order to do that, follow the steps:
...
@@ -134,7 +134,7 @@ In order to do that, follow the steps:
# When using dind, it's wise to use the overlayfs driver for
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
# improved performance.
variables:
variables:
DOCKER_DRIVER: overlay
DOCKER_DRIVER: overlay
2
services:
services:
- docker:dind
- docker:dind
...
@@ -248,7 +248,7 @@ aware of the following implications:
...
@@ -248,7 +248,7 @@ aware of the following implications:
By default, when using
`docker:dind`
, Docker uses the
`vfs`
storage driver which
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
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.
Make sure a recent kernel is used, preferably
`>= 4.2`
.
1.
Check whether the
`overlay`
module is loaded:
1.
Check whether the
`overlay`
module is loaded:
...
@@ -275,9 +275,13 @@ which can be avoided if a different driver is used, for example `overlay`.
...
@@ -275,9 +275,13 @@ which can be avoided if a different driver is used, for example `overlay`.
```
```
variables:
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
## Using the GitLab Container Registry
> **Notes:**
> **Notes:**
...
...
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