Ultimate React development container for Visual Studio Code
nodemon, create-react-app, mocha, and jest:latest, :alpine and :alpine-vx.x.xarm64 due to vscode-remote-release#4462:debian and :debian-vx.x.x:ubuntu and :ubuntu-vx.x.x~/.ssh and the directory of your project with Docker DesktopSetup your configuration files
With style 💯
docker run -it --rm -v "/yourrepopath:/repository" kbuley/devtainr:v0.2.0 -dev react -path /repository -name projectname
Or use the built binary
Or manually: download this repository and put the .devcontainer directory in your project.
If you have a .vscode/settings.json, eventually move the settings to .devcontainer/devcontainer.json in the "settings" section as .vscode/settings.json take precedence over the settings defined in .devcontainer/devcontainer.json.
Open the command palette in Visual Studio Code (CTRL+SHIFT+P) and select Remote-Containers: Open Folder in Container... and choose your project directory
If you want to use the Debian based image, you can modify the .devcontainer/Dockerfile in your directory.
Note that by default it will map the port 3000 to a random port on your host, which you can find with docker ps
See the .devcontainer/README.md document in your repository.
This repository is under an MIT license unless indicated otherwise.
Content type
Image
Digest
sha256:f21c0d758…
Size
350 MB
Last updated
almost 3 years ago
docker pull kbuley/reactdevcontainer