![]()
Let's now switch back to our WSL2 terminal and see if we can (finally) launch the commands: In order to fix it, and finally be able to use the commands, we need to tell the Docker Desktop to "attach" itself to our distro also: If we try, we will have the same error as before. Still, this first setting is still not enough to run the commands inside our distro. What this feature did behind the scenes was to create two new distros in WSL2, containing and running all the needed backend sockets, daemons and also the CLI tools (read: docker and kubectl command). A new window will appear:īy default, the WSL2 integration is not active, so click the "Enable the experimental WSL 2 based engine" and click "Apply & Restart": Now click on the Docker icon and choose settings. You should now see the Docker icon with the other taskbar icons near the clock: Open the Windows start menu and type "docker", click on the name to start the application: ![]() Docker Desktop settings: enable WSL2 integrationįirst let's start Docker Desktop for Windows if it's not still the case. You got an error? Perfect! It's actually good news, so let's now move on to the settings. ![]() # Try to see if the docker cli and daemon are installed docker version Playing pod racer on win 10 update#Like for any normal Linux distro, you need to create a user and set a password:Īs we are working, normally, on our local computer, it might be nice to update the sudoers and set the group %sudo to be password-less: Once found, click on the name and it will launch the default Windows console with the Ubuntu bash shell running. Once everything is installed, we can launch the WSL2 terminal from the Start menu, and type "Ubuntu" for searching the applications and documents: For Docker Desktop for Windows, no need to configure anything yet as we will explain it in the next section.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |