# Hot loading with Docker containers

**URL:** <https://forum.codewithmosh.com/t/hot-loading-with-docker-containers/23693>\
**Category:** Docker\
**Created:** [November 17, 2023, 7:41am UTC](https://forum.codewithmosh.com/t/hot-loading-with-docker-containers/23693 "2023-11-17T07:41:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![billybob71a](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@billybob71a](https://forum.codewithmosh.com/u/billybob71a)\
**Post date:** [November 17, 2023, 7:41am UTC](https://forum.codewithmosh.com/t/hot-loading-with-docker-containers/23693/1 "2023-11-17T07:41:49Z")

</div>

Hello,

I am taking the Docker course, but hot loading never seems to work for me. I am using Windows 10 with Docker Desktop.

I have mapped the appropriate volume directory  
**docker run -d -p 5001:3000 -v %cd%:/app react-app-20231027**

Even in docker-compose, the hot loading never works and my docker compose file is like this:  
version: “3.8”  
services:  
web:  
build: ./frontend  
ports:  
- 3000:3000  
api:  
build: ./backend  
ports:  
- 3001:3001  
environment:  
- DB\_URL=mongodb://db/vidly  
volumes:  
- ./backend:/app  
db:  
image: mongo:4.0-xenial  
ports:  
- 27017:27017  
volumes:  
- vidly:/data/db

volumes:  
vidly:

However, none of the hot loading attempts such as changing verbiage in index.js won’t reflect in the content displayed by the browser.
