difference between sudo: docker: command not found docker ce and docker code example
Example 1: intall docker ubuntu command
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
Example 2: docker ubuntu installation
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -