ogirginc said about 4 years ago on A Rubyist's Apple M1 Review :
Have you tried using docker-machine? If not and want to try, here is the link.