3 ms·
Ask HN: Anyone using Docker on Apple Silicon with a remote Docker engine?
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?
- weikju 3y agoYes, you can use docker contexts or the DOCKER_HOST env var.
- jejeyyy77 3y agoThanks! 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.
- weikju 3y agoThat 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.