Does Lenses Box work with Apple Macbooks using the M1/M2 CPUs?

Lenses.io created this topic as part of the seeding process for our community

When I try to run Lenses Box or fast-data-dev on Apple Mac M1 I get errors like below. Do you support M1?

2023-01-07 21:47:03 Setting advertised host to 127.0.0.1.
2023-01-07 21:47:03 Could not successfully bind to port 2181. Maybe some other service
2023-01-07 21:47:03 in your system is using it? Please free the port and try again.
2023-01-07 21:47:03 Exiting.
2023-01-07 22:30:12 Setting advertised host to 127.0.0.1.
2023-01-07 21:47:03 runtime: failed to create new OS thread (have 2 already; errno=22)
2023-01-07 21:47:03 fatal error: newosproc
2023-01-07 21:47:03 
2023-01-07 21:47:03 runtime stack:
2023-01-07 21:47:03 runtime.throw(0x512269, 0x9)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/panic.go:566 +0x95
2023-01-07 21:47:03 runtime.newosproc(0xc420026000, 0xc420035fc0)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/os_linux.go:160 +0x194
2023-01-07 21:47:03 runtime.newm(0x5203a0, 0x0)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/proc.go:1572 +0x132
2023-01-07 21:47:03 runtime.main.func1()
2023-01-07 21:47:03 /usr/lib/go/src/runtime/proc.go:126 +0x36
2023-01-07 21:47:03 runtime.systemstack(0x593600)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/asm_amd64.s:298 +0x79
2023-01-07 21:47:03 runtime.mstart()
2023-01-07 21:47:03 /usr/lib/go/src/runtime/proc.go:1079
2 Likes

We added native support for ARM64 processors on Lenses Box 5.1 and fast-data-dev:3.3 or later.
Before these versions, due to some bundled binaries, it wasn’t possible to run our docker images on M1, even via the x86 emulation layer.

So… pull the latest images to get ARM64 support!

docker pull lensesio/box
docker pull lensesio/fast-data-dev

Best,
Marios

1 Like