Hi everyone, we're encountering some weird behavio...
# ory-selfhosting
b
Hi everyone, we're encountering some weird behavior with the
ory-kratos-self-serve-ui
Docker image. Our project uses Ory (self-hosted) for handling all the user management (login/signup/authentication/protect routes/etc). We include in our docker compose the Ory Kratos containers. Specifically, these 2:
oryd/kratos:v1.2.0
,
oryd/kratos-selfservice-ui-node:v1.2.0
. Now, my co-worker and I are using macbook pros (m1 and m2 respectively). On my machine, the ``oryd/kratos-selfservice-ui-node` works perfectly. When I inspect the logs, I see this message:
Copy code
@ory/kratos-selfservice-ui-node@0.15.0 serve
node lib/index.js

Listening on <http://0.0.0.0:4455>
However, when my co-worker runs the same setup (with the same Docker Desktop + Docker Compose version), they get this error
Copy code
exec /bin/sh: exec format error
After googling a bit, we understand this is a problem with the architecture of the Docker Image. We see a warning in our logs that says the image was built for a specific platform. However, everything works on my machine and I also have the Apple Chip. Does somebody know what's going on? We could really use some guidance on this one.
a
Hi @brash-raincoat-15175 can you get your co-worker to check that the ‘rosetta’ emulation is turned on? It’s in the general settings section
b
It is off on her machine
a
can she try turning it on?