Installing
2. Pre-Installation Testing
Check if a Previous Docker Version is Installed
With:which docker
If Yes then Remove that with:
sudo apt remove docker docker-engine
3. Installing Dependencies
Install PreRequisite Packages
Executing:sudo apt install apt-transport-https ca-certificates software-properties-common curl apt-transport-https
4. Setting Up Docker Repo
How to Setup the Docker CE Apt Repository
5. Installing Docker
Now to Install Docker CE
Simply run:sudo apt install docker-ce