Update docker README with docker buildx instructions.

This commit is contained in:
Robin Grönberg 2020-06-30 23:38:00 +02:00
parent a6a46ae503
commit bad2771802

View file

@ -30,7 +30,10 @@ make
## Build and push a multiarch build
Make sure that `docker buildx` is supported.
Make sure that `docker buildx` is supported (might be an experimental docker feature)
```bash
BUILDER=$(docker buildx create --driver docker-container --use)
docker buildx build --pull --push --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . -t chrislusf/seaweedfs
docker buildx stop $BUILDER
```