DEV Community

Discussion on: Are you using Docker for local development?

niklasmtj profile image

I use Docker to set up quick databases for my development and testing. I mostly use docker-compose.yml files to set it up properly and don't have to search for the right docker command with all the flags when I come back to development a couple weeks later. Just start the docker-compose file and here we go.

Tell me I'm wrong but isn't it possible to mount a directory into the container which also updates inside the container when there are changes outside of it on the local machine?

mateusz__be profile image
Mateusz Bełczowski Author

Yes, totally, it's possible, but not always as easy as it might be (at least in my opinion) :)