Fixed buildx

This commit is contained in:
Kang HuaiShuai 2019-12-01 10:12:14 +08:00
parent 83619ad6e3
commit a85ae7da1e
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7

View File

@ -15,9 +15,7 @@ $ docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd44
由于 Docker 默认的 `builder` 实例不支持同时指定多个 `--platform`我们必须首先创建一个新的 `builder` 实例
```bash
# $ docker buildx create --name mybuilder
$ docker buildx create --name=mybuilder --driver docker-container --driver-opt image=dockerpracticesig/buildkit:master
$ docker buildx create --name mybuilder --driver docker-container
$ docker buildx use mybuilder
```