docker buildx use
説明
現在のビルダーインスタンスを設定します。
利用方法
$ docker buildx use [オプション] NAME
追加説明
Switches the current builder instance. Build commands invoked after this command will run on a specified builder. Alternatively, a context name can be used to switch to the default builder of that context.
本コマンドの利用例については、以下に示す 利用例の節 を参照してください。
オプション
| 名前/省略形 | デフォルト | 説明 |
--default |
現在のコンテキストに対してビルダーをデフォルトに設定します。 | |
--global |
ビルダーがコンテキストの変更を保持するようにします。 | |
--builder |
設定された builder インスタンスをオーバーライドします。 |
利用例
Override the configured builder instance (--builder)
Same as buildx --builder.
上位コマンド
| コマンド | 説明 |
|---|---|
| docker buildx | Docker Buildx |
関連コマンド
| コマンド | 説明 |
| docker buildx bake | ファイルからビルドします。 |
| docker buildx build | ビルドを開始します。 |
| docker buildx create | 新規にビルダーインスタンスを生成します。 |
| docker buildx du | ディスク利用量。 |
| docker buildx imagetools | レジストリ上のイメージを操作するコマンドです。 |
| docker buildx inspect | 現在のビルダーインスタンスを確認します。 |
| docker buildx ls | ビルダーインスタンスを一覧表示します。 |
| docker buildx prune | ビルドキャッシュを削除します。 |
| docker buildx rm | ビルダーインスタンスを削除します。 |
| docker buildx stop | ビルダーインスタンスを停止します。 |
| docker buildx use | 現在のビルダーインスタンスを設定します。 |
| docker buildx version | Buildx のバージョンを表示します。 |