debian-mirror-gitlab/doc/ci/docker/index.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
1 KiB
Markdown
Raw Normal View History

2021-03-11 19:13:27 +05:30
---
stage: Verify
2021-09-04 01:27:46 +05:30
group: Pipeline Execution
2021-03-11 19:13:27 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
comments: false
type: index
---
2021-09-30 23:02:18 +05:30
# Docker integration **(FREE)**
2021-03-11 19:13:27 +05:30
2021-09-30 23:02:18 +05:30
There are two primary ways to incorporate [Docker](https://www.docker.com) into your CI/CD workflow:
2021-03-11 19:13:27 +05:30
2021-04-17 20:07:23 +05:30
- **[Run your CI/CD jobs](using_docker_images.md) in Docker containers.**
2021-03-11 19:13:27 +05:30
2021-04-17 20:07:23 +05:30
You can create CI/CD jobs to do things like test, build, or publish
an application. These jobs can run in Docker containers.
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.