File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ # Add Docker's official GPG key:
2+ sudo apt-get update
3+ sudo apt-get install ca-certificates curl
4+ sudo install -m 0755 -d /etc/apt/keyrings
5+ sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
6+ sudo chmod a+r /etc/apt/keyrings/docker.asc
7+
8+ # Add the repository to Apt sources:
9+ ARCH=$( dpkg --print-architecture)
10+ CODENAME=$( source /etc/os-release && echo " $VERSION_CODENAME " )
11+ REPO_URL=" deb [arch=$ARCH signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $CODENAME stable"
12+ echo " $REPO_URL " | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
13+
14+ sudo apt-get update
15+
16+ # Install latest version
17+ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
You can’t perform that action at this time.
0 commit comments