Solved Issue with Docker and linux binaries

Andrew D

New Member

Messages: 8

Hi there,
I am running
FreeBSD 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 #0: Sun Jan 7 21:42:48 AEDT 2018
Id Refs Address Size Name
1 35 0xffffffff80200000 1fe5bd0 kernel
2 1 0xffffffff82419000 2018ed zfs.ko
7 3 0xffffffff82642000 7b0f linux_common.ko
9 1 0xffffffff8264d000 42864 linux.ko
10 1 0xffffffff82690000 3c93f linux64.ko

Got a bit of an issue with docker and I was hoping someone might be able to help.
I have all the linux compatability kernel modules and stuff installed.
I get the following when I try and do anything with linux images. BSD images work fine.

root@vps2:~ # docker run alpine ls
jail: exec ls: Exec format error
jail: ls: failed
docker run oznu/unms ls
jail: exec /init: Exec format error
jail: /init ls: failed

Does anyone have any ideas on what may be going wrong?

Thanks in advance for your time.