Omg that works.
Exact steps for anyone else who’s just as baffled as me:
- In Docker Desktop, open settings > general > select “Use containerd for pulling and storing images” (may require restart of Docker Desktop if this isn’t already selected).
- Undo all the steps back to where you build your image - so that’s delete your getting-started containers (not the tutorial one), and images.
- Build with the following command (in the app folder):
docker build -t getting-started --platform linux/amd64,linux/arm64 .
- Continue the tutorial (can skip the updating app section) from “Sharing our App” again with docker tag and docker push etc.
It now runs on Play with Docker!
$ docker run -dp 3000:3000 miriamtesting/getting-started
Unable to find image 'miriamtesting/getting-started:latest' locally
latest: Pulling from miriamtesting/getting-started
latest: Pulling from miriamtesting/getting-started
f18232174bc9: Pull complete
a5cf150cb374: Pull complete
f46e519824fb: Pull complete
3d8c59f7308d: Pull complete
8a2ebe0c3c66: Pull complete
8e0eec261cac: Pull complete
0679e8bbc76c: Pull complete
Digest: sha256:cb1bf60030120e066dd95ad4fa16e1203bad76618185bd962594e936bb150e01
Status: Downloaded newer image for miriamtesting/getting-started:latest
9ca5f21b84a57bbb057c4fcb6622e6e2f6a245955bcb9032a8362becd4caa70f
Success! Happy dance!