Howto duplicati: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 1: Line 1:
= install docker archlinux =
= install docker archlinux =
install docker on archlinux:
install docker on archlinux:
  pacman -Syu docker --noconfirm
  pacman -Syu docker docker-compose --noconfirm
 
= install docker ubuntu/debian =
= install docker ubuntu/debian =
install dependencies:
install dependencies:

Revision as of 18:20, 18 January 2023

install docker archlinux

install docker on archlinux:

pacman -Syu docker docker-compose --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

install docker-compose:

curl -s https://api.github.com/repos/docker/compose/releases/latest | grep browser_download_url  | grep docker-compose-linux-x86_64 | grep -v .sha256 | cut -d '"' -f 4 | wget -qi - -O /usr/local/bin/docker-compose 

change file permissions:

chmod +x /usr/local/bin/docker-compose