


We should work on new stuff, but also make improvements to existing applications. But what about legacy applications? Should we just rewrite everything with new tech? I know this is not as simple as it seems. It has given me the power to not only move applications through different environments, but also to keep my local environment as clean as possible.ĭevelopers working with cutting-edge technologies are always working with something new. So developers created Docker to help reduce the chances of possible errors.ĭocker is one of my favorite tools that I work with every day on desktop, web, and IoT apps. They're stable, and they're fun to develop and release, but they're not predictable when working over different environments. More and more cutting-edge technologies are being released for the internet all the time. Before starting to code make sure you have the following tools installed on your machine: In the next steps, you'll clone an existing project to execute all examples in this article. Aggregate all services within docker-compose.Enable live-reload by using docker volumes.Enable dependency caching on Node.js modules.Convert a legacy application to run within a Docker container.In this article, our goal is to tackle this mindset by demonstrating how simple configurations can result in many benefits such as a reliable environment over production and development environments.īy the end of this post you will have learned how to:

They say that Docker isn't good for development because it always needs to rebuild the entire image to reflect all new modifications. Some developers turn up their noses when talking about using Docker for their development environment. This will allow you to convert a legacy application so it uses Docker, Docker volumes, and docker-compose.
Livereload change to local host how to#
In this post you'll learn how to configure a development environment with live-reload enabled.
