Have a problem for run result-app in arm architecture
muhmah-motahari opened this issue · 1 comments
muhmah-motahari commented
when I run result-app in docker I got the below error:
root@muhmah /h/m/D/t/e/result (master)# docker run -p 5001:80 --link db:db result-app
/usr/local/bin/docker-entrypoint.sh: 8: exec: /tini: Exec format error
After that, I searched about that error and found that problem was caused for architecture. my architecture is ARM but the result-app image architecture is AMD
Output of docker version:
root@muhmah /h/m/D/t/e/result (master)# docker version
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:02:20 2022
OS/Arch: linux/arm64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:00:44 2022
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Output of docker info:
root@muhmah /h/m/D/t/e/result (master)# docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
compose: Docker Compose (Docker Inc., v2.6.0)
Server:
Containers: 53
Running: 6
Paused: 0
Stopped: 47
Images: 47
Server Version: 20.10.17
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
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 io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc version: v1.1.4-0-g5fd4c4d
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.15.0-46-generic
Operating System: Ubuntu 20.04.5 LTS
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 4.675GiB
Name: muhmah
ID: D2L3:IQUZ:3AFS:AO2Q:WT45:T27W:SCIS:6AE7:6OEB:E5YB:DNWA:O637
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
My system is Mac M1 and uses a virtual machine and use ubuntu ARM version.
BretFisher commented
Will be fixed by #268