Docker Image for superset_node with node:20-bullseye-slim on linux/amd64 Fails to Run on Host Machine #31567
Replies: 1 comment
-
To address the issue of the
By following these steps, you should be able to gather more information about why the container is stopping and address any configuration or dependency issues. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I am trying to push a Docker image for
superset_node
to a host machine with theplatform/arch
set tolinux/amd64
.Here's what I've done so far:
linux/amd64
platform architecture.node:20-bullseye-slim
, which by default pulls thearm64
architecture. To resolve this, I explicitly set the platform tolinux/amd64
in my Dockerfile like so:I verified that the image and its layers are now using the
linux/amd64
platform by checking the tag's command:Before setting the platform explicitly:
After setting the platform explicitly:
However, after pushing the image and running it on my Docker host, the container stops immediately with no logs shown, and I see this message:
What I've Tried:
linux/amd64
and that the architecture of the base image has been properly adjusted.Questions:
linux/amd64
?Any help or insight would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions