To install the latest version, run: $ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin Install Docker Engine, containerd, and Docker Compose.Try granting read permission for the Docker public key file before updating the package index: $ sudo chmod a+r /etc/apt/keyrings/docker.gpg $ sudo apt-get update Receiving a GPG error when running apt-get update? Your default umask may be incorrectly configured, preventing detection of the repository public key file. Use the following command to set up the repository: $ echo \ "deb \ $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/null Install Docker Engine Add Docker’s official GPG key: $ sudo mkdir -p /etc/apt/keyrings $ curl -fsSL | sudo gpg -dearmor -o /etc/apt/keyrings/docker.gpgģ. $ sudo apt-get update $ sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-releaseĢ. Update the apt package index and install packages to allow apt to use a repository over HTTPS:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |