Remote development in Containers
Running VS Code inside a Docker container can be useful for many reasons, but in this walkthrough we'll focus on using a Docker container to set up a development environment that is isolated from your local environment.
You need Visual Studio Code installed.
Docker is needed to create and manage your containers.
Download and install Docker Desktop.
NOTE! - You'll have to signup for Docker Hub, verify your email address, and get a DockerID in order to get the installer.
Run the Docker Desktop application to start Docker. You will know it's running if you look in the activity tray and see the Docker whale icon.
Docker might take a few minutes to start. If the whale icon is animated, it is probably still in the process of starting. You can click on the icon to see the status.
Once Docker is running, you can confirm that everything is working by opening a new terminal window and typing the comand:
docker --version # Docker version 18.09.2, build 6247962