postercas.blogg.se

Installing docker on debian
Installing docker on debian











installing docker on debian

Install the dependencies necessary to add a new repository Update the installed packages to the latest version: sudo apt update sudo apt upgrade The following steps describe how to install the latest stable Docker version from the Docker’s repositories. All the commands in this tutorial should be run as a non-root user. Prerequisites #īefore continuing with this tutorial, make sure you are logged in as a user with sudo privileges In this tutorial, we will guide you through the process of installing Docker on a Debian 9 machine and explore the basic Docker concepts and commands. Executing Docker commands without sudo (Optional)īy default, Docker commands can only run using the root user or by user in the Docker group.Docker is a containerization platform that allows you to quickly build, test and deploy applications as portable, self-sufficient containers that can run virtually anywhere.ĭocker is de facto standard for container technology and it is an essential tool for DevOps engineers and their continuous integration and delivery pipeline. You should get that the process is active To check that Docker is running sudo systemctl status docker Now, Docker is installed, the daemon is started and the process enabled to start on boot. Then, Update the package database with Docker packages from the new added repository sudo apt updateįinally, Install Docker sudo apt install docker-ce Then add Docker repository to apt sources sudo add-apt-repository "deb $(lsb_release -cs) stable"

installing docker on debian

Then add the GPG key of offecial Docker repository curl -fsSL | sudo apt-key add. Next, install few prerequisite packages which let apt use package over HTTPS sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common To do that, we have to add a new package with GPG key from Docker to ensure the package is valid.įirst, we need to update Debian existing list of packages sudo apt update

installing docker on debian installing docker on debian

So, we will install docker from the official Docker repository to ensure getting the latest version. The Docker installation package available in official Debian repository may not be the latest version. Cloud VPS with Debian 10 installed (you can check all VPS packages here)













Installing docker on debian