Local development in Docker can feel really slow. All you wanted was to have reproducible environments, but the price to pay are painful waiting times, and way more commands. If you are using docker build frequently and your containers need to be restarted a lot, this post will help you to save some time. Mount Your Code Directory Into the Container While it makes sense to create a complete Docker image when deploying your code, you don’t need to do it when developing.