-
-
basic steps
$ sudo apt update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg \ lsb-release $ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg -
Arhcitectiure based steps
- x86_64 / amd64
$ 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
- armhf ```bash $ echo \ "deb [arch=armhf 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 ``` - arm64 ```bash $ echo \ "deb [arch=arm64 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 ``` - x86_64 / amd64
-
- update
$ sudo apt-get update
- install
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
- test
- execute: command should work without any errors it should pull the docker image
hello-world$ sudo docker run hello-world
- execute: command should work without any errors it should pull the docker image
- Pre-step
$ sudo sysctl net/netfilter/nf_conntrack_max=131072
- basic install
$ sudo docker run -d --restart=unless-stopped \ -p 80:80 -p 443:443 \ --privileged \ rancher/rancher:latest
- inital test: access {server ip} with http to confirm the installation
- set admin password on the admin ui