prakhar1989 / docker-curriculum

:dolphin: A comprehensive tutorial on getting started with Docker!
https://docker-curriculum.com/
MIT License
5.68k stars 2.17k forks source link

No image for static web? #396

Open osakibill opened 4 months ago

osakibill commented 4 months ago

I get this message when I run the command:

docker run -d -P --name static-site prakhar1989/static-site

in the docker tutorial, no container is produced. I am running on a Rasberrypi 5. Previous parts of the tutorial worked fine.

"WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested"

mehdi-hajjam commented 1 month ago

I think you need to specify your platform's architecture when it's not the same as the image. You could try: docker run -d -P --platform linux/arm64 --name static-site prakhar1989/static-site