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.
0 Comments
Leave a Reply. |