]> Git — Sourcephile - gargantext.git/blob - devops/docker/install_docker.sh
fix accelerate commits
[gargantext.git] / devops / docker / install_docker.sh
1 #!/bin/bash
2
3
4
5 sudo apt-get update
6
7 sudo apt-get install \
8 ca-certificates \
9 curl \
10 gnupg \
11 lsb-release
12
13
14 sudo mkdir -p /etc/apt/keyrings
15 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
16
17
18 echo \
19 "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
20 $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
21
22
23 sudo apt-get update
24 sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
25
26 sudo adduser debian docker