Friday, January 19, 2024

VS Code with Docker container

Containers are very convenient way to package "standardized" development environment, 
and to speed up process of configuring dev environment.  
Just pull and run image from docker hub!

In particular on Windows this is helpful, since some of dev tools are only available on Linux.
And Docker containers are based on Linux most of the time.

With minimum setup the container could be used directly from VS Code,
looking and working same as "native" OS environment, and more secure, too!

 Developing inside a Container using Visual Studio Code Remote Development

The Visual Studio Code Dev Containers extension lets you use a container as a full-featured development environment. It allows you to open any folder inside (or mounted into) a container and take advantage of Visual Studio Code's full feature set.

No comments: