5/9/2023 0 Comments Debian 11 docker![]() GPG keys are used to authenticate the packages to verify the source of the package.Īnd to add the GPG key for docker, the following command should get the job done: curl -fsSL | sudo gpg -dearmor -o /etc/apt/keyrings/docker.gpg ![]() ![]() Next, you have to use the following command to create /etc/apt/keyrings if it does not exist by default: sudo mkdir -p /etc/apt/keyrings Adding GPG Keys Installing the latest Docker in Debianįirst, you have to install the following packages so you can use HTTPS over the apt repository: sudo apt-get install ca-certificates curl gnupg lsb-release However, if you don't care about having the most recent versions, you can use the given command and docker will be installed on your Debian system: sudo apt install docker.ioīut if you are looking for a way to get the most recent images, you must utilize the official repository to install docker.īefore jumping to the installation part, it is necessary to remove the older version of Docker: sudo apt-get remove docker docker-engine docker.io containerd runcĪnd this tutorial is all about how you can install docker using the official repository. Docker is available in the default repository of Debian but by its nature, you are bound to get old docker versions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |