![]() The apt package manager requires a few prerequisite packages on the system to use packages over HTTPS. When prompted, enter your root password and press Enter to proceed with the update. Run the following command to update the system's package repository and ensure the latest prerequisite packages are installed: sudo apt update Follow the steps below: Step 1: Update the Package Repository To access the official Docker repository, add the new package source to Ubuntu and then install Docker. ![]() Install Docker from the official Docker repository to ensure you get the latest stable program version. ![]() Run the following command to uninstall previous versions: sudo apt-get remove docker docker-engine docker.io containerd runc Installing Docker from the Official Repository (Option 1) Removing previous Docker versions doesn't delete the images, containers, volumes, or networks you have created. Important: Make sure to remove any older Docker installations before installing a new one. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |