docker ubuntu 20 upgrade code example Example 1: install docker ubuntu sudo apt install docker.io Example 2: install docker ubuntu sudo apt install docker.io -y