Howto duplicati: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 1: Line 1:
= install docker =
= install docker archlinux =
install docker on archlinux:
install docker on archlinux:
  pacman -Syu docker --noconfirm
  pacman -Syu docker --noconfirm
install docker on debian/ubuntu:  
= install docker ubuntu/debian =
install dependencies:
sudo apt update
sudo apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common
import docker gpg key:  
  curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
  curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
  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
add docker repository:
  apt update && apt install -y docker-ce docker-ce-cli containerd.io
  sudo add-apt-repository \
  "deb [arch=amd64] https://download.docker.com/linux/debian \
  $(lsb_release -cs) \
  stable"
update package index and install docker:
  sudo apt update && sudo apt update && apt install -y docker-ce docker-ce-cli containerd.io

Revision as of 18:14, 18 January 2023

install docker archlinux

install docker on archlinux:

pacman -Syu docker --noconfirm

install docker ubuntu/debian

install dependencies:

sudo apt update
sudo apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common

import docker gpg key:

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

add docker repository:

sudo add-apt-repository \
  "deb [arch=amd64] https://download.docker.com/linux/debian \
  $(lsb_release -cs) \
  stable"

update package index and install docker:

sudo apt update && sudo apt update && apt install -y docker-ce docker-ce-cli containerd.io