Ask HN: Anyone using Docker on Apple Silicon with a remote Docker engine?

1 points by jejeyyy77 ↗ HN
Have a linux box with a GPU that I use to run docker containers.

My m1 is my main dev machine and it's annoying having to work via SSH.

Is there a way to run the docker client locally and then have the containers run on a remote machine?

3 comments

[ 3.1 ms ] story [ 18.8 ms ] thread
Yes, you can use docker contexts or the DOCKER_HOST env var.
Thanks!

How do you deal with file paths/bind mounts, etc? Seems like for things to work "seamlessly" you need to have a duplicated file system with exact same paths on client/host.

That I’m not sure. Maybe sshfs would work, but I’m just throwing words out there now. Probably would require more effort than local solutions.