Check your environment

One of the useful things about developing in a container is that you can use specific versions of dependencies that your application needs without impacting your local development environment.

The specific container for this tutorial has Node.js v10 installed, which you can check by opening a new terminal Terminal > New Terminal (⌃⇧` (Windows, Linux Ctrl+Shift+`)) and entering:

node --version; npm --version

This should show the following versions:

Node.js version check

Run the application

We can now hit F5 which will run the application inside the container. Once the process starts, navigate to http://localhost:3000 and you should see the simple Node.js server running!

Running the application

Let us know how it went

At this point, you're running and developing fully in a containerized environment!

We'd love to hear your feedback by answering a short survey.

Take the Remote Containers survey

Ending your container connection

You can end your session in the container and go back to running VS Code locally with File > Close Remote Connection.

Next steps

If you would like to learn how the Remote - Containers extension sets up and configures your containers, read the next How it works section.


Docker is running