How to use Docker on Windows 10 (without Docker Desktop)
<p>In this tutorial I will show you how to run Docker on Windows 10 without installing Docker Desktop (which is paid software).</p>
<h2>1. Check if you have WSL 2 enabled on your system</h2>
<p>Type this command in <strong>PowerShell</strong>:</p>
<pre>
wsl -l -v</pre>
<p>You should see version 2 of WSL, if not you will need to install it on your computer.</p>
<h2>2. Install Ubuntu from Microsoft Store</h2>
<p>After installing if you type the same command in PowerShell you should see ready Ubuntu system:</p>
<h2>3. Create user</h2>
<p>Run Ubuntu from you Windows 10, you should see Ubuntu terminal. You need to provide username and password for your system:</p>
<pre>
Installing, this may take a few minutes…
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: <a href="https://aka.ms/wslusers" rel="noopener ugc nofollow" target="_blank">https://aka.ms/wslusers</a>
Enter new UNIX username: username1
New password:
Retype new password:
passwd: password updated successfully
Installation successful!
To run a command as administrator (user “root”), use “sudo <command>”.</pre>
<h2>4. Enable Internet connection</h2>
<p>Check if <strong>sudo apt update</strong> is working.</p>
<p>If not, go to <strong>cd /ect/</strong></p>
<p>run <strong>sudo nano wsl.conf</strong></p>
<p><a href="https://sloglessdev.medium.com/how-to-use-docker-on-windows-10-without-docker-desktop-548b39738268"><strong>Website</strong></a></p>