docker run ubuntu with packages code example
Example 1: install docker ubuntu
sudo apt install docker.io -y
Example 2: ubuntu install docker
sudo usermod -aG docker ${USER}
sudo apt install docker.io -y
sudo usermod -aG docker ${USER}