Ubuntu container in Windows 10
Introduction
You have Windows 10 Pro or Enterprise or a very lucky version of Windows 10 Home and you want to run Ubuntu in a container Docker
Example
To do this, you just need to pull the image with the pull command and run it with the run command.
docker pull ubuntu
docker run -it --name myubuntu ubuntu
cat /etc/os-release
NAME="Ubuntu" VERSION="20.04 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal
Article author: Andrei Olegovich