Initial commit
This commit is contained in:
commit
4c44ba7c46
2
README.md
Normal file
2
README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# Install Docker
|
||||
East to use scripts to install Docker on various Linux distributions
|
21
debian-install-docker.sh
Executable file
21
debian-install-docker.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
PATH="/bin:/sbin:/usr/sbin:/usr/bin"
|
||||
apt-get update
|
||||
|
||||
apt-get install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg2 \
|
||||
software-properties-common
|
||||
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
||||
|
||||
add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/debian \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
|
||||
apt-get update
|
||||
|
||||
apt-get install docker-ce docker-ce-cli containerd.io
|
Loading…
x
Reference in New Issue
Block a user