When running mops in a Docker container on an Apple Silicon Mac, mops hangs indefinitely on various commands, providing no output why it is hanging.
Steps to reproduce:
export DOCKER_DEFAULT_PLATFORM=linux/amd64 # set platform to amd64 for dfx
docker run -it node:latest bash # run a default node image
DFXVM_INIT_YES=true sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
source "$HOME/.local/share/dfx/env"
npm i -g ic-mops
mops init -y # hangs indefinitely on "Fetching default packages for dfx"
The same steps work on a linux machine. (you can omit the first step exporting DOCKER_DEFAULT_PLATFORM)
When running mops in a Docker container on an Apple Silicon Mac, mops hangs indefinitely on various commands, providing no output why it is hanging. Steps to reproduce:
The same steps work on a linux machine. (you can omit the first step exporting DOCKER_DEFAULT_PLATFORM)