How to Use Docker Container inside VS Code

Step by step instructions to use Docker Containers from Visual Studio Code.
Written by Paayi Tech |01-Aug-2020 | 0 Comments | 141 Views

Working on Dockers from shell or PowerShell is good but not great because you need to look for everything, like how many containers, etc you have. I am working on docker container from PowerShell and I want to see how many images I have.

Docker Image command inside WIndows Powershell

But this is very time consuming and not a great way to work on large projects. Thats why we need to run Dockers inside Visual Studio Code or VS Code.

To run Docker inside VS' code you need to do the following steps.

1. Search Docker inside visual studio code extensions and install the Docker extension.

Search docker inside VS code extensions

 

 

2. Now you will see the docker logo on the bottom left side of vs code, click that and you will see all your containers, images, networks, etc.

Image showing powershell vs vscode

 

Now if you want to run your image then just select the image, right-click it, and hit run.

 

Now you are inside the terminal.





Login/Sign Up

Comments




Related Posts



© Copyright 2020, All Rights Reserved. paayi.com

This site uses cookies. By continuing to use this site or clicking "I Agree", you agree to the use of cookies. Read our cookies policy and privacy statement for more information.