Debian/Ubuntu: Install docker


short tutorial to install docker.

Install the docker public gpg key

root@debdev ~ # apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
root@debdev ~ # curl -fsSL | apt-key add -

Add the repository
On ARM64/aarch64 (RockPi with armbian Ubuntu)

root@debdev ~ # add-apt-repository "deb [arch=arm64] $(lsb_release -cs) stable"

On ARM64/aarch64 (Raspberry 4 with 64Bit rasbian)

root@debdev ~ # add-apt-repository "deb [arch=arm64] $(lsb_release -cs) stable"

On amd64

root@debdev ~ # add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"

ANd install docker

root@debdev ~ # apt-get update
root@debdev ~ # apt-get -y install docker-ce docker-ce-cli


Advertisment to support

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.