Dev Containers are an extension of Docker that support consistent IDE environments.
If you are using VS Code, you can spin up a Remote Dev Container.
Make sure you have the Remote Development extension installed and have Docker running.
Everything is done within VS Code, so you will be able to make code changes and they will be pushed to the browser.
Unlike Docker, you can use VS Code's built in terminal to run NPM Commands just as you would normally.
If you are using Windows, you will need to do a few more things:
- Install Windows Subsystem for Linux ( Docker needs this installed )
- When installing Docker Desktop below, make sure to leave
Install required Windows components for WSL 2checked
