

The best option for most Debian 10 users will be to install Docker from its official repositories. Method 1: Install Docker Using the Repository on Debian 10 If you have Raspbian, the only way to set up Docker is by using automated convenience scripts.This method is recommended for users that have air-gapped systems with no access to the internet. Alternatively, download the DEB package and install Docker manually.The standard and most practical approach is to set up Docker repositories and install the software from them.There are several ways to install Docker:

Update the default repository with the command: sudo apt-get updateĭownload the following dependencies: sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-commonīy doing so, this allows you to add a new repository over HTTPS. These versions are not required for the latest stable release of Docker.ĭelete the outdated packages by typing the following command in the terminal: sudo apt-get purge docker lxc-docker docker-engine docker.io Step 2: Install Required Packages The first step is to remove old versions of docker, docker.io, and docker-engine that may already be on the system. Step 1: Uninstall Default Docker Packages Deleting older versions of Docker packages and downloading the required dependencies speeds up the process. To set up Docker, you will need to prepare the system for installation. Access to a command line/terminal window.
