Create Docker File via VS Code

Vineet Mishra
Feb 11, 2022

--

Prerequisite:

Visual Studio Code (VS Code)

Docker

Install Docker Extension in VS Code

Process:

Open command terminal:

Run command “Code”

it will open the VS Code, Go to the main menu

Select Docker: Add Docker Files to Workspace

Select your project directory where you want to have a docker file:

Select the OS where you want to run the image/file

Select the Port :

Include docker-compose files:

Thank You, Please Share, Like and Follow 😎

--

--

Vineet Mishra
Vineet Mishra

Written by Vineet Mishra

SDE 2 at Accelya , I write about Mobile/Web Development and Deployment, and Interview Q & A

No responses yet