I use a docker container to try pintos on my mac(M1). Everything behaves well when I start the container by docker start -i pintos.
However, when I use ssh to connect my docker container(i.e., ssh -p xxxx root@local), error message -bash: pintos: command not found occurs if I try pintos -- in directory /pintos/src/threads/build.