Installing
-
3. Preinstallation Testing
Check if a Previous Docker Version is Installed
With:which docker
If Yes then Remove that with:
sudo apt remove docker docker-engine
-
4. Installing Packages
Install PreRequisite Packages.
sudo apt install apt-transport-https ca-certificates software-properties-common
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
5. Installing Docker CE
Then to Install Docker CE
Simply run:sudo apt install docker-ce
-
6. Testing Docker CE
Testing Docker Installation.
With:
sudo docker run hello-world
Or:
docker run hello-world
Then Docker will Pull the Repo and Greets you with:
Hello from Docker! :) -
8. Docker CE Getting Started
How to Get Started with Docker and Docker Containers
Contents