docker apt-get code example
Example 1: get-docker sh
curl -fsSL https://get.docker.com -o get-docker.sh
Example 2: apt install docker
$ sudo apt-get remove docker docker-engine docker.io containerd runc
curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo apt-get remove docker docker-engine docker.io containerd runc