Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 2.04 KB

File metadata and controls

44 lines (36 loc) · 2.04 KB

Docker-Workspaces

Installation Directives for Docker

Windows

Prequest

  • Virtualization enabled in BIOS
  • Windows Subsystem for Linux 2 (WSL 2) enabled (recommended)

Windows Subsystem for Linux (WSL) Installation

  • Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator". Run the following command.
wsl --install
  • To open wsl you have to install Linux Distribution.
  • To install distrubition, enter:
 wsl --install -d <Distribution Name>
  • Replace with the name of the distribution you would like to install.
  • Or you can install Distribution from Windows Store.
  • For upgrade wsl 1 to wsl 2 follow the steps.
wsl.exe --set-version (distribution name) 2
wsl.exe --set-default-version 2

WSL 2 Upgrade

Docker Installation

  1. Install WSL with at least version 1.1.3.0.
  2. Download Docker Desktop for Windows from offical website.
  3. Run the installer (Docker Desktop Installer.exe)
  4. Follow the usual installation instructions to install Docker Desktop. Depending on which version of Windows you are using, Docker Desktop may prompt you to turn on WSL 2 during installation. Read the information displayed on the screen and turn on the WSL 2 feature to continue.
  5. Start Docker Desktop from the Windows Start menu.
  6. Navigate to Settings.
  7. From the General tab, select Use WSL 2 based engine.. If you have installed Docker Desktop on a system that supports WSL 2, this option is turned on by default.
  8. Select Apply & Restart.
  9. For further information you can visit offical docker website.