Computer Vision News - July 2022
49 Docker sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release sudo mkdir -p /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/ docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb _ release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker. list > /dev/null sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose- plugin apt-cache madison docker-ce The last command will list the available versions in the repository. Alternatively, installing from a deb package for Ubuntu is also possible. For Windows and Mac installation, you can check the original manual from Docker, but you might need to install Docker Desktop instead, which offers a GUI and a virtual machine inside which Docker is running. To install a specific version, run the command below substituting the desired string for docker-ce and docker-ce-cli. I am installing 5:20.10.16~3-0~ubuntu-bionic. sudo apt-get install docker-ce=5:20.10.16~3-0~ubuntu-bionic docker-ce- cli=5:20.10.16~3-0~ubuntu-bionic containerd.io docker-compose-plugin To verify that docker is installed correctly, we can try the following command: sudo docker run hello-world
Made with FlippingBook
RkJQdWJsaXNoZXIy NTc3NzU=