realpython / dockerizing-django

https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/
1.34k stars 484 forks source link

Update volume in dev with docker-machine #40

Open imaia opened 7 years ago

imaia commented 7 years ago

Would there be a way to update the project code without "rebuilding" the image while in dev? The "mount volume to project directory" would not quite work with docker-machine, correct?

oppianmatt commented 7 years ago

the mount volume to project directory does work with docker-machine

Depending on docker-machine, it will normally mount your Users directory (windows vs mac). So if your project dir is in your users directory somewhere, it will work.

imaia commented 7 years ago

Even if the docker docker-machine is connected is remote and my project folder is local?