I would like to use docker for nodejs development. I want the source code to be on the host but run the app within the container. I would want gulp to monitor for changes in host and restart the server within the container.
Anyone of you use docker for development like this? Would you mind sharing details (dockerfile, docker-compose file etc)?
In Mac, I had source code in host and created a share in docker container. And able to run app using that share. But haven't tried gulp + docker.
in general if you use linux this is no problem at all.
I'm not sure about OSX but last time I checked they still have a VM that runs the docker container inside of it so this wont work as expected.
But I'm not up to date with the current OSX-Docker implementation/integration :).
Floyd
Down with Ad Rock, Mike D and you aint
I know you can use a volumes in docker to mount local directories inside your container