Ray's Knowledge Base
Unlock

On an Apple Silicon Mac a Jupyter kernel never starts in an emulated linux/amd64 container

PitfallVerified 5 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

In a --platform linux/amd64 Docker container, which runs under x86_64 emulation, the Jupyter kernel never starts. This happens even in a plain python:3.12 image with only jupyterlab installed. Shell jobs and sbatch still pass under emulation, so only notebook runs fail.

Cause#

Not found; the same image on native linux/arm64 starts the kernel fine.

Fix#

To test notebooks on a Mac, use a native arm64 image, not an emulated amd64 one.

Evidence#

Reproduced with a plain python:3.12 image plus jupyterlab (dftracer-demo session, 2026-10-05).

Also found by searching

  • Jupyter kernel never starts in linux/amd64 Docker container on Mac
  • jupyterlab kernel dies under x86_64 emulation
  • test notebooks in Docker on Apple Silicon
  • kernel stuck starting platform linux/amd64