diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-02-01 19:25:41 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-02-01 19:25:41 +0100 |
| commit | 69a416caa2bce3dc4a3aff61fb8ae955f7561e51 (patch) | |
| tree | 7f80e7f3143872c2e0a8867399abfcd35c9d5dbc /scripts/install_docker.sh | |
| parent | fdee7340ac18b0866abf0c44643f4c937fc4cf80 (diff) | |
| download | dotfiles-server-69a416caa2bce3dc4a3aff61fb8ae955f7561e51.tar.xz dotfiles-server-69a416caa2bce3dc4a3aff61fb8ae955f7561e51.zip | |
Reorganise scripts
Diffstat (limited to 'scripts/install_docker.sh')
| -rwxr-xr-x | scripts/install_docker.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/install_docker.sh b/scripts/install_docker.sh new file mode 100755 index 0000000..56594ba --- /dev/null +++ b/scripts/install_docker.sh @@ -0,0 +1,17 @@ +#!/bin/bash +sudo apt-get install -y \ + apt-transport-https \ + ca-certificates \ + curl \ + gnupg-agent \ + software-properties-common + +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - +sudo apt-key fingerprint 0EBFCD88 +sudo add-apt-repository \ + "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ + $(lsb_release -cs) \ + stable" +sudo apt-get update +sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose + |
