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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0e4dabb2
Commit
0e4dabb2
authored
Feb 18, 2021
by
Suzanne Selhorn
Committed by
Marcel Amirault
Feb 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more detailed explanations
Related to:
https://gitlab.com/gitlab-org/gitlab/-/issues/300312/
parent
1c2b87b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
doc/ci/docker/index.md
doc/ci/docker/index.md
+13
-6
doc/ci/docker/using_docker_build.md
doc/ci/docker/using_docker_build.md
+1
-1
doc/ci/docker/using_docker_images.md
doc/ci/docker/using_docker_images.md
+1
-1
doc/ci/docker/using_kaniko.md
doc/ci/docker/using_kaniko.md
+1
-1
No files found.
doc/ci/docker/index.md
View file @
0e4dabb2
...
@@ -8,11 +8,18 @@ type: index
...
@@ -8,11 +8,18 @@ type: index
# Docker integration
# Docker integration
GitLab CI/CD can be combined with
[
Docker
](
https://www.docker.com
)
to enable
There are two primary ways to incorporate
[
Docker
](
https://www.docker.com
)
in your CI/CD workflow.
integration between the two.
The following documentation is available for using GitLab CI/CD with Docker:
-
**[Run your CI/CD jobs](using_docker_images.md) in Docker containers.**
-
[
Building Docker images with GitLab CI/CD
](
using_docker_build.md
)
.
You can create CI/CD jobs to do things like test, build, or publish
-
[
Using Docker images
](
using_docker_images.md
)
.
an application. These jobs can run in Docker containers.
-
[
Building images with kaniko and GitLab CI/CD
](
using_kaniko.md
)
.
For example, you can tell GitLab CI/CD to use a Node image that's hosted on Docker Hub
or in the GitLab Container Registry. Your job then runs in a container that's based on the image.
The container has all the Node dependencies you need to build your app.
-
**Use [Docker](using_docker_build.md) or [kaniko](using_kaniko.md) to build Docker images.**
You can create CI/CD jobs to build Docker images and publish
them to a container registry.
doc/ci/docker/using_docker_build.md
View file @
0e4dabb2
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
type
:
concepts, howto
type
:
concepts, howto
---
---
#
Building Docker images with GitLab CI/CD
#
Use Docker to build Docker images
You can use GitLab CI/CD with Docker Engine to build and test Docker-based projects.
You can use GitLab CI/CD with Docker Engine to build and test Docker-based projects.
...
...
doc/ci/docker/using_docker_images.md
View file @
0e4dabb2
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
type
:
concepts, howto
type
:
concepts, howto
---
---
#
Using Docker image
s
#
Run your CI/CD jobs in Docker container
s
GitLab CI/CD in conjunction with
[
GitLab Runner
](
../runners/README.md
)
can use
GitLab CI/CD in conjunction with
[
GitLab Runner
](
../runners/README.md
)
can use
[
Docker Engine
](
https://www.docker.com/
)
to test and build any application.
[
Docker Engine
](
https://www.docker.com/
)
to test and build any application.
...
...
doc/ci/docker/using_kaniko.md
View file @
0e4dabb2
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
type
:
howto
type
:
howto
---
---
#
Building images with kaniko and GitLab CI/CD
#
Use kaniko to build Docker images
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/45512) in GitLab 11.2. Requires GitLab Runner 11.2 and above.
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/45512) in GitLab 11.2. Requires GitLab Runner 11.2 and above.
...
...
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