Howto duplicati: Difference between revisions
Jump to navigation
Jump to search
Mandulete1 (talk | contribs) |
Mandulete1 (talk | contribs) |
||
Line 15: | Line 15: | ||
update package index and install docker: | update package index and install docker: | ||
sudo apt update && sudo apt update && apt install -y docker-ce docker-ce-cli containerd.io | 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 | |||
chmod +x /usr/local/bin/docker-compose |
Revision as of 18:19, 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
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 chmod +x /usr/local/bin/docker-compose