mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 15:28:54 +00:00
6cfc12eece
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
18 lines
394 B
Go
18 lines
394 B
Go
# 使用 Buildx 构建镜像
|
||
|
||
## 使用
|
||
|
||
你可以直接使用 `docker buildx build` 命令构建镜像。
|
||
|
||
```bash
|
||
$ docker buildx build .
|
||
[+] Building 8.4s (23/32)
|
||
=> ...
|
||
```
|
||
|
||
Buildx 使用 [BuildKit 引擎](buildkit.md) 进行构建,支持许多新的功能,具体参考 [Buildkit](buildkit.md) 一节。
|
||
|
||
## 官方文档
|
||
|
||
* https://docs.docker.com/engine/reference/commandline/buildx/
|