Answers for "install docker debian"

0

install docker on debian

Delete any outdated packages: 
sudo apt-get purge docker lxc-docker docker-engine docker.io

Update the default respository: 
sudo apt-get update

Download the following dependencies: 
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

Download Docker’s official GPG key to verify the integrity of packages
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

Add the Docker repository to your system repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian buster stable"

Update the apt repository:
sudo apt-get update

Install Docker Engine and containerd:
sudo apt-get install docker-ce docker-ce-cli containerd.io

Check the status by typing:
systemctl status docker

Another way to check the installation:
docker -v

Optional: Verify the Installation With a Hello World Image
docker run hello-world

To remove docker:
sudo apt-get purge docker-ce
sudo rm -rf /var/lib/docker
Posted by: Guest on August-18-2021
1

install docker debian

$ sudo apt-get update
 $ sudo apt-get install docker-ce docker-ce-cli containerd.io
Posted by: Guest on May-22-2020
0

install docker debian

sudo apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common
Posted by: Guest on December-14-2020
-2

install docker debian

$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
Posted by: Guest on March-28-2021
0

install docker debian

$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
Posted by: Guest on May-29-2021
0

install docker debian

$ echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Posted by: Guest on August-31-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language