Cannot run duckling server on apple M1 Pro (MacBook Pro 14") device

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

Tried using

–platform linux/amd64

flag but still fails to run

any solutions ?