my computer is linux mips64el with 4.19.0 kernel.
i want to build buildx for myself.
docker version:
Client:
Version: 19.03.0-dev
API version: 1.40
Go version: go1.15.9
Git commit:
Built: Thu Dec 9 02:17:17 2021
OS/Arch: linux/mips64le
Experimental: true
Server:
Engine:
Version: dev
API version: 1.40 (minimum version 1.12)
Go version: go1.15.9
Git commit:
Built: Thu Dec 9 02:10:48 2021
OS/Arch: linux/mips64le
Experimental: true
containerd:
Version: c542a377
GitCommit: c542a377e62f5cadf1244423227059548688476c
runc:
Version: 1.0.0~rc6+dfsg1
GitCommit: 1.0.0~rc6+dfsg1-3
docker-init:
Version: 0.18.0
GitCommit: fec3683
docker info:
Client:
Debug Mode: false
Plugins:
app: Docker Application (Docker Inc., v0.8.0)
buildx: Build with BuildKit (Docker Inc., 0.0.0+unknown)
Server:
Containers: 7
Running: 2
Paused: 0
Stopped: 5
Images: 12
Server Version: dev
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c542a377e62f5cadf1244423227059548688476c
runc version: 1.0.0~rc6+dfsg1-3
init version: fec3683
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://docker.mirrors.ustc.edu.cn/
https://registry.docker-cn.com/
Live Restore Enabled: false
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No kernel memory TCP limit support
WARNING: No oom kill disable support
and i install tonistiigi/binfmt:
user@user-PC:~$ docker run --privileged --rm tonistiigi/binfmt:qemu-v6.0.0-12 --install all
user@user-PC:~$ ls -al /proc/sys/fs/binfmt_misc/
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-aarch64
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-arm
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-i386
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-mips64
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-ppc64le
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-riscv64
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-s390x
-rw-r--r-- 1 root root 0 8月 9 12:05 qemu-x86_64
after git clone this repo, and exec make binaries :
user@user-PC:~/buildx$ make binaries
docker buildx bake binaries
[+] Building 2.2s (3/3) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> ERROR resolve image config for docker.io/docker/dockerfile:1.4 2.2s
------
> resolve image config for docker.io/docker/dockerfile:1.4:
------
error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to solve
with frontend gateway.v0: no match for platform in manifest
sha256:443aab4ca21183e069e7d8b2dc68006594f40bddf1b15bbd83f5137bd93e80e2: not found
my computer is linux mips64el with 4.19.0 kernel.
i want to build buildx for myself.
docker version:
docker info:
and i install tonistiigi/binfmt:
after git clone this repo, and exec
make binaries: