Community discussions

MikroTik App
 
kmohsenk
just joined
Topic Author
Posts: 8
Joined: Tue Aug 27, 2013 10:46 pm

Container can't start "Exec format error"

Sat Aug 12, 2023 4:15 pm

hi. I have a hAP ax³.I set up the container as documentation.
/interface/veth/add name=veth1 address=172.17.0.2/24 gateway=172.17.0.1
/interface/bridge/add name=dockers
/ip/address/add address=172.17.0.1/24 interface=dockers
/interface/bridge/port add bridge=dockers interface=veth1
/ip/firewall/nat/add chain=srcnat action=masquerade src-address=172.17.0.0/24
/container/config/set registry-url=https://registry-1.docker.io tmpdir=disk1/pull
/container/add remote-image=couchbase/centos7-systemd interface=veth1 root-dir=disk1/Cent7

Now when I want to start it, can't start . It show "Exec format error"
my log is:
Aug/12/2023 16:13:30 container,info,debug layer sha256:a02a4930cb5d36f3290eb84f4bfa30668ef2e9fe3a1fb73ec015fc58b9958b17 downloaded
Aug/12/2023 16:13:30 container,info,debug import ddeefe4f-9aa4-42e8-93f2-a9b77c480201 was canceled
Aug/12/2023 16:18:29 container,info,debug importing remote image: couchbase/centos7-systemd, tag: latest
Aug/12/2023 16:18:32 container,info,debug does not match this architecture
Aug/12/2023 16:18:32 container,info,debug getting layer sha256:a02a4930cb5d36f3290eb84f4bfa30668ef2e9fe3a1fb73ec015fc58b9958b17
Aug/12/2023 16:18:59 container,info,debug layer sha256:a02a4930cb5d36f3290eb84f4bfa30668ef2e9fe3a1fb73ec015fc58b9958b17 downloaded
Aug/12/2023 16:22:44 container,info,debug getting layer sha256:c702ea4a22bc54f6af7b88acc5cef3f4724c31d9d76c8636f55394ff52e2a09f
Aug/12/2023 16:22:45 container,info,debug layer sha256:c702ea4a22bc54f6af7b88acc5cef3f4724c31d9d76c8636f55394ff52e2a09f downloaded
Aug/12/2023 16:22:45 container,info,debug getting layer sha256:5742391e1f8fc21e5e065af63a89301511aec8313d8009267fac1420647330d8
Aug/12/2023 16:23:24 container,info,debug layer sha256:5742391e1f8fc21e5e065af63a89301511aec8313d8009267fac1420647330d8 downloaded
Aug/12/2023 16:27:15 container,info,debug import successful, container 27fe4638-841f-4130-b17d-749bb9313736
Aug/12/2023 16:41:47 container,info,debug execve: Exec format error
how can I fix it?
 
tangent
Forum Guru
Forum Guru
Posts: 1404
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Container can't start "Exec format error"

Sat Aug 12, 2023 4:22 pm

It’s only built for AMD64 CPUs. Your device runs on ARM.
 
kmohsenk
just joined
Topic Author
Posts: 8
Joined: Tue Aug 27, 2013 10:46 pm

Re: Container can't start "Exec format error"

Sat Aug 12, 2023 6:05 pm

It’s only built for AMD64 CPUs. Your device runs on ARM.
ooh. I checked it. that's right.

Who is online

Users browsing this forum: No registered users and 2 guests