At least it does not work for me
docker run -p 80:8080 swaggerapi/swagger-ui --platform linux/amd64
WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
/docker-entrypoint.sh: exec: line 38: illegal option –