Use the --platform option of the docker run command. For example:
--platform
docker run
$ docker run --rm --platform "linux/arm/v7" alpine:latest uname -m armv7l