

- #VISUAL STUDIO CODE LINUX SUBSYSTEM HOW TO#
- #VISUAL STUDIO CODE LINUX SUBSYSTEM INSTALL#
- #VISUAL STUDIO CODE LINUX SUBSYSTEM DOWNLOAD#
Once the restart is done your Ubuntu environment will have access to Docker. You’ll see your Ubuntu environment there, but toggled off, along with any other WSL environments you may have installed.Įnable Docker in your Ubuntu environment by clicking on the slider to turn it on, and then click Apply & Restart. From there you’ll click the Resource tab and then click WSL Integration.

Click on the Gear icon in the top right corner to open Settings. Next you’ll need to expose Docker to the WSL so you can run Docker on your Ubuntu environment. If the indicator is red, then Docker is unable to start.

If it is yellow then Docker Desktop is still starting give it a minute or so to finish. If you see the logo is green in the bottom left corner that means that Docker is running. This is where any running containers will appear as well as settings and status of Docker. Once you have either done the tutorial or skipped it, continue on. If you are unfamiliar with Docker it may be worth your time to do the Docker tutorial, but it is not required for this current tutorial. Warning: When you first launch Docker it will prompt you with a Docker tutorial. Log back in and launch Docker Desktop from the Start menu. Click on the Close button and then make sure to log out and back in so that the changes take effect. Whether or not you want a Desktop icon is up to you.Īfter the installation process is done you’ll be prompted to log out and back in for your changes to take effect.
#VISUAL STUDIO CODE LINUX SUBSYSTEM INSTALL#
Run the executable once you get it downloaded and allow it to make changes.ĭuring the installation make sure that Install required Windows components for WSL 2 is checked. Set up Docker by downloading Docker Desktop from Docker’s website and clicking the Get Docker button to start the download. Docker Desktop has the advantage of also being able to run and integrate with your WSL Linux environments. Step 1 - Installing Docker Desktop and Connecting to the WSLĭocker is a common development tool used by developers to deploy applications. The required plugins will be discussed in this tutorial. You do not need to worry about installing plugins.
#VISUAL STUDIO CODE LINUX SUBSYSTEM DOWNLOAD#
VSCode Installed: You can download and install VSCode from its official website.
#VISUAL STUDIO CODE LINUX SUBSYSTEM HOW TO#
You can follow the tutorial How To Install the Windows Subsystem for Linux 2 on Microsoft Windows 10 to set this up. Personal Computer with Windows 10 and the WSL 2 installed: You’ll want to ensure that the WSL is installed correctly and that you have Ubuntu 20.04 installed into the WSL. In order to follow along with this guide, you’ll need: You’ll build a Python Flask web service in Docker to demonstrate the development functionality of these tools. In this tutorial you’ll set up a development environment on Windows using Visual Studio Code, the WSL, and Docker Desktop. The WSL 2 allows for direct integration with Docker Desktop and has plugins for direct development using Visual Studio Code. The advent of the Windows Subsystem for Linux 2 (WSL 2 or WSL for short) has simplified Linux-based development on Windows.
