marcantondahmen / automad

A flat-file content management system and template engine
https://automad.org
MIT License
659 stars 41 forks source link

The try-it-with-docker example does not work on arm mac #105

Open meglio opened 4 months ago

meglio commented 4 months ago

The following command from your documentation:

docker run -dp 80:80 -v ./app:/app --name mysite automad/automad:v2

Does not work on an M1 macbook and yields an error:

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

marcantondahmen commented 4 months ago

Hi, you can try adding the --platform linux/amd64 flag when running the container.