The --platform option is required in the docker run command (along side its use in the docker build command) to prevent such warnings
WARNING: The requested image's platform (linux/s390x) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
The
--platform
option is required in thedocker run
command (along side its use in thedocker build
command) to prevent such warnings