brash-raincoat-15175
07/24/2024, 7:49 PMory-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:
@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
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.adventurous-minister-88090
07/24/2024, 9:09 PMbrash-raincoat-15175
07/24/2024, 9:09 PMadventurous-minister-88090
07/24/2024, 9:12 PM