Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Anyone using Docker on Apple Silicon with a remote Docker engine?
1 point by jejeyyy77 on July 8, 2023 | hide | past | favorite | 3 comments
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?



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: