Switch docker to latest age version. You need to switch deamon and client.
http://collabnix.com/building-arm-based-docker-images-on-docker-desktop-made-possible-using-buildx/
Then enable Experimental features.
You can check result by issuing:
docker version
I have next output:
Client: Docker Engine - Community
Version: 19.03.0-rc2
API version: 1.40
Go version: go1.12.5
Git commit: f97efcc
Built: Wed Jun 5 01:37:59 2019
OS/Arch: windows/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 19.03.0-rc2
API version: 1.40 (minimum version 1.12)
Go version: go1.12.5
Git commit: f97efcc
Built: Wed Jun 5 01:42:10 2019
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: v1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
Mention Age version 19.03.xx and Experimental - True.
Then build buildx
docker build --platform=local -o . git://github.com/docker/buildx
And copy it to - profile dir .docker
.docker\cli-plugins\docker-buildx.exe
Then your buildx should work:
docker buildx ls
Then you can build multiplatform image with command like:
docker buildx build --platform linux/amd64,linux/arm64 -t registry.gitlab.com/gintsgints/vue-fullstack/client:latest --push .