nodejs / devcontainer

developer environment for Node.js core
MIT License
23 stars 9 forks source link
devcontainer docker dockerfile nodejs

Node.js Developer Container (devcontainer)

Usage

Setup

Running with Docker Desktop

To run locally on your machine, you'll want to install Docker Desktop and start it up.

Once you've got Docker Destop running, you can run the following command to pull and start the image:

docker pull nodejs/devcontainer:nightly
docker run -it nodejs/devcontainer:nightly /bin/bash

Once you've run those commands, you'll be in a shell inside the running container. If you need to escape, type exit. You should be good to jump to Working in the Container.

Working in the Container

Personal Configuration

Assuming you've already got the Docker container running:

Development

Some useful commands:

Tips and Tricks for Debugging Failed Builds and Otherwise Developing in This Repo

Some notes on what's been helpful: