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. 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. VSCode Installed: You can download and install VSCode from its official website. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |