intall docker ubuntu command

Shell
$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
 $ sudo apt-get update
 $ sudo apt-get install docker-ce docker-ce-cli containerd.io

Source

Also in Shell: