How To Install and Use Docker on Debian 9 | debian stretch docker install
Apreviousversionofthistutorialwaswrittenbyfinid[1].IntroductionDocker[2]isanapplicationthatsimplifiestheprocessofmanagingapplicationprocessesincontainers.Containersletyourunyourapplicationsinresource-isolatedprocesses.They’resimilartovirtualmachines,butcontainersaremoreportable,moreresource-friendly,andmoredependentonthehostoperatingsystem.ForadetailedintroductiontothedifferentcomponentsofaDockercontainer,checkoutTheDockerEcosystem:AnIntroductiontoCommonComponents[3].Inthistutorial,you’llins...
A previous version of this tutorial was written by finid[1].
IntroductionDocker[2] is an application that simplifies the process of managing application processes in containers. Containers let you run your applications in resource-isolated processes. They’re similar to virtual machines, but containers are more portable, more resource-friendly, and more dependent on the host operating system.
For a detailed introduction to the different components of a Docker container, check out The Docker Ecosystem: An Introduction to Common Components[3].
In this tutorial, you’ll install and use Docker Community Edition (CE) on Debian 9. You’ll install Docker itself, work with containers and images, and push an image to a Docker Repository.
PrerequisitesTo follow this tutorial, you will need the following:
One Debian 9 server set up by following the Debian 9 initial server setup guide[4], including a sudo non-root user and a firewall. An account on Docker Hub[5] ...