Looking to install Docker and to play around a bit? If you follow the main guide on the Official Docker site, you’ll be surprised how many steps need to be taken to get Docker Installed.
Thankfully, if you keep scrolling, you’ll notice that there is a convenience script! That’s great! Let’s get Docker installed!
Make sure you got cURL installed:
sudo apt-get install curl
Then let’s use the convenience script to install Docker!
sudo curl -sSL https://get.docker.com/ | sh
Once the installation is complete, let’s get your first container running!
sudo docker run hello-world
This should show something along the lines of:
Hello from Docker!
This message shows that your installation appears to be working correctly
Then it means that your installation is now complete!