9/27/2023 0 Comments Docker debWe will now move on to installing docker-compose which is optional to use containers. The Docker containerization engine is installed. Install Docker: sudo apt-get install docker-ce docker-ce-cli containerd.io -y $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/null Install prerequisites: sudo apt-get install ca-certificates curl gnupg lsb-release -yĪdd repository GPG key: curl -fsSL | sudo gpg -dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg Make sure you have your distribution up to date: sudo apt update Installing Docker and docker-compose from the Docker repository The problem as often with official repositories is the update time to the latest versions which can be long, so I will explain how to install Docker and docker-compose from the Docker repository in order to have the latest version. Installing docker-compose: sudo apt install docker-compose Installing Docker: sudo apt install docker.io Installation of Docker and docker-compose from the official repositoriesÄocker and docker-compose are part of the official repositories of both distributions (Ubuntu and Debian), so just run the two commands below:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |