]> Git — Sourcephile - gargantext.git/blob - devops/debian/docker
[flow] some refactoring so that nodes are created in separate function
[gargantext.git] / devops / debian / docker
1 #!/bin/bash
2
3 sudo apt-get -y remove --purge docker docker-engine docker.io containerd runc
4
5
6 sudo apt-get -y install \
7 apt-transport-https \
8 ca-certificates \
9 curl \
10 gnupg-agent \
11 software-properties-common
12
13 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
14 sudo apt-key fingerprint 0EBFCD88
15
16 sudo add-apt-repository \
17 "deb [arch=amd64] https://download.docker.com/linux/debian \
18 $(lsb_release -cs) \
19 stable"
20
21 sudo apt update
22
23 sudo apt-get -y install docker-ce docker-ce-cli containerd.io
24 sudo apt -y install docker-compose
25
26 sudo addgroup gargantua docker
27