install ubuntu using docker image code example
Example 1: ubuntu install docker
sudo usermod -aG docker ${USER}
Example 2: apt install docker
$ sudo apt-get remove docker docker-engine docker.io containerd runc
sudo usermod -aG docker ${USER}
$ sudo apt-get remove docker docker-engine docker.io containerd runc