正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

Docker integration

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

You can incorporate Docker into your CI/CD workflow in two primary ways:

  • Run your CI/CD jobs in Docker containers.

    Create jobs to test, build, or publish applications that run in Docker containers. For example, use a Node image from Docker Hub so your job runs in a container with all the Node dependencies you need.

  • Use Docker Build or BuildKit to build Docker images.

    Create jobs that build Docker images and publish them to a container registry. BuildKit provides multiple approaches including rootless builds.