Docker Runner

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

With Docker Runner, you can run builds and deployments in a Docker container to isolate the build process from the environment it runs in. This increases the security of your environments by providing more strict control over resources the continuous integration (CI) process has access to. The isolation also helps with the reliability of your CI, by making sure that environment it runs in can be reliably recreated each time you run your builds.

  • Bamboo provides support for Docker for Mac, and Docker for Ubuntu in version 17 and later. 
  • If you want to user Docker images in your Bamboo builds, you can do that with Docker tasks. See Configuring the Docker task in Bamboo.


Enabling Docker Runner

Docker Runner can be enabled for jobs and deployment environments when:

Docker Runner is also fully supported with Bamboo Specs. See our Bamboo Specs reference guide.

Advanced Docker configuration

When editing a job or a deployment environment, you can also specify which directories from Bamboo agent should be mounted as additional volumes to the Docker container.

ヒント

Use ~/ to provide a path to your home directory.

要件

Enabling Docker for a job or  a deployment environment disables standard requirements which come from tasks. All the requirements which come from tasks will be replaced with a single requirement for Docker.

Custom requirements, manually configured by users, will not be erased, and will still be used for agent matching.


最終更新日 2019 年 5 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.