docker buildx
| 内容説明 | Docker Buildx |
|---|---|
| 利用方法 | docker buildx |
内容説明
BuildKit を用いた拡張ビルド機能。
オプション
| オプション | デフォルト | 内容説明 |
|---|---|---|
--builder | 設定済みビルダーインスタンスをオーバーライドします。 | |
-D, --debug | Enable debug logging |
利用例
設定済みビルダーインスタンスのオーバーライド (--builder)
環境変数 BUILDX_BUILDER を用いることもできます。
Enable the default policy
Set BUILDX_DEFAULT_POLICY=1 to enable Buildx's built-in source policy. The
policy verifies signed tags for images managed by Docker, including BuildKit
builder images and Dockerfile frontends. Untagged digest references and images
outside the managed repositories are allowed unchanged. Tagged references
that also contain a digest still have their release identity verified.
サブコマンド
| コマンド | 内容説明 |
|---|---|
docker buildx bake | Build from a file |
docker buildx build | Start a build |
docker buildx create | 新規ビルダーインスタンスの生成 |
docker buildx dap | Start debug adapter protocol compatible debugger |
docker buildx debug | デバッガーの開始 |
docker buildx dial-stdio | Proxy current stdio streams to builder instance |
docker buildx du | ディスク使用量 |
docker buildx history | Commands to work on build records |
docker buildx imagetools | Commands to work on images in registry |
docker buildx inspect | Inspect current builder instance |
docker buildx ls | ビルダーインスタンスの一覧表示 |
docker buildx policy | Commands for working with build policies |
docker buildx prune | Remove build cache |
docker buildx rm | Remove one or more builder instances |
docker buildx stop | Stop builder instance |
docker buildx use | Set the current builder instance |
docker buildx version | Show buildx version information |