Docker Local Setup Windows

Installing Docker on local(Windows Home)

-> Download docker desktop

-> After launching the app, it will prompt for upgrade to WSL2.

----------------------------WSL from scratch------------------------

****Warning: you will need a system restart after these steps****

-> In order to setup wsl(windows subsystem for linux)

->go to MS-Store and search ubuntu

-> Download the latest version

-> Go to control panel->programs and features->turn features on or off.

->turn on windows subsystem for linux

Once done, restart the system.

---------------------------------------------setting up ubuntu---------------------

-> After restart, open the ubuntu terminal

-> It will prompt a message to wait.

-> set username, put a basic password like 123 and hit enter

-> you will see system details and that means terminal is good to go.

-----------------------------------------------------------------------------------------

Sign in to docker hub

->in order to check wsl upgrade, run on powershell ‘wsl -l –v'

Above image, ubuntu is not on version 2 yet, so in order to make it on v2, run this on powershell:

wsl --set-version Ubuntu-20.04 2

Restart terminal and run

Below are some more commands to work with.

Previous
Previous

Upgrade Ubuntu OS[Pictures]

Next
Next

AWS Amplify Guide