

To get started with the installation of Docker, log in to your Ubuntu 20. If you don’t have, you can deploy a fully managed VPS or cloud server starting at only 3.71. Initially I failed to see the connection because it was running fine for few days straight and crashed only after the next system reboot. To get started, you require an instance of Ubuntu 20.04 LTS with a sudo user. But this time instead of overwriting this file, it simply crashed saying WSL integration with distro Ubuntu unexpectedly stopped with exit code 1. Making it read-only prevented that and worked fine until Docker Desktop started again. The thing is that every time Docker Desktop starts, it overwrites this entry with "desktop.exe". I actually had to recreate my whole environment on a new distro and one of the steps required to configure my project at work was to edit an entry in ~/.docker/config.json. There are some logs, but nothing in there pointed me to that. How did you figure that out? Are there logs somewhere?

Limit resource usage One of the side-effects of using docker for windows with WSL2 as the backend is the memory consumption.
#Docker desktop for ubuntu 20.04 install#
In this guide, we will cover to install Docker (Community Edition) on Ubuntu 22.04 (Jammy Jellyfish) and Ubuntu 20.04 (Focal Fossa) LTS.

In other words, we can say Docker provides container run time environment. sudo usermod -aG docker raisedadead This should let you execute docker commands with ease. Docker is considered as PaaS (platform as a service) software which makes use of OS level virtualization feature to spin up containers. Turns out I had a pretty strange case: my ~/.docker/config.json file was read-only. Close and launch the terminal (in my case that is Ubuntu-20.04 via Windows Terminal) and add your user to the docker UserGroup.
