Imagine that you’re working on multiple projects at once. The first one is using Node v12, the other one is using v14 and so on. It will be such a headache to adjust our local machine to each of these different set-ups. Hence, please introduce containerized development environment.
With this approach, there is no adjustment to make if you want to work on your project and switch to another project later. You’ll only need to start your containerized development environment and work inside it. Pretty simple right?
- Open your VSCode
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image.png)
2. Select extensions from left side.
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-1.png)
3. Search remote in search bar and select ‘Remote-Containers’. Then install the same.
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-2.png)
4. Press f1 in your keyboard and select ‘Remote-containers:Open Folder in Container’
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-3.png)
5. Create a folder in your local machine and select the folder.
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-4.png)
6. Select the the language from the list. I am selecting GO as example.
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-5.png)
7. Select the GO version
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-6.png)
8. We can install additional features also.
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-7.png)
9. Wait for Setting up container for folder or workspace
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-8.png)
10. Create your first GO program and enjoy the coding.
![](https://vishnuvn.xyz/wp-content/uploads/2022/09/image-11.png)
Hurray…!! keep GOing….