![]() ![]() Sudo apt-get update # Install docker and docker compose on Ubuntu sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin # Verify the Docker and docker compose install on Ubuntu sudo docker run hello-worldÄocker and compose install steps on Ubuntu # Download the docker gpg file to Ubuntu sudo mkdir -p /etc/apt/keyringsĬurl -fsSL | sudo gpg -dearmor -o /etc/apt/keyrings/docker.gpg # Add Docker and docker compose support to the Ubuntu's packages list echo "deb apt-get install docker-ce docker-ce-cli containerd.io docker-compose-pluginsudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-pluginlinux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/null To install Docker and docker compose on Ubuntu, issue the following commands in a terminal window: # Docker and docker compose prerequisites sudo apt-get install curl
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |