Install Docker on Debian


 

Install prerequisite packages.

apt-get install apt-transport-https ca-certificates \
     curl gnupg2 software-properties-common

 

Add the docker GPG key.

curl -fsSL https://download.docker.com/linux/debian/gpg \
        | apt-key add -

apt-key fingerprint 0EBFCD88

 

Add the repository.

echo "#" > /etc/apt/sources.list.d/docker.list
echo "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list

 

Update the package list and install Docker.

apt-get update
apt-get install docker-ce

 

Add your user to the docker group.

usermod -a -G docker joe

 

Tags: Debian, Docker, Linux
2018-07-09 22:09 Roy Kidder {writeRevision}
Average rating: 0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.