Member-only story

Instant Development for Docker-based Applications with Docker Volumes (Plug & Play Hot Reload)

Jericho Siahaya
4 min readApr 21, 2024

--

Plug & Play Hot Reload Docker Container

Some developers don’t like using Docker for their development because they think it’s not efficient. They say Docker slows them down because every time they make changes, they have to rebuild the whole image from scratch.

It’s actually true that rebuilding the entire image from scratch every time there’s a change takes a lot of time. But what if we could modify the process into a kind of “plug and play” setup where we don’t have to rebuild the entire image, but instead, the container will run directly from our local machine?

Disclaimer: This idea came from my fellow co-worker Singgih, all credit goes to him! ✌️

Purpose of Docker

Before we start learning about this plug-and-play, let’s first understand Docker a bit.

Docker build workflow

Docker is a service that bundles software and its dependencies into containers. These containers act like small virtual machines, but they’re faster and more lightweight because they share the computer’s resources.

--

--

Jericho Siahaya
Jericho Siahaya

No responses yet