Update file run_onchange_before_11-install-docker.tmpl
This commit is contained in:
parent
1f22dbd2fb
commit
30e1ca7ea9
1 changed files with 2 additions and 2 deletions
|
@ -29,13 +29,13 @@ elif command -v apt-get > /dev/null; then
|
||||||
elif command -v dnf > /dev/null; then
|
elif command -v dnf > /dev/null; then
|
||||||
# Fedora
|
# Fedora
|
||||||
sudo dnf -y install dnf-plugins-core
|
sudo dnf -y install dnf-plugins-core
|
||||||
sudo dnf config-manager --add-repo -y https://download.docker.com/linux/fedora/docker-ce.repo
|
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
|
||||||
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
||||||
elif command -v yum > /dev/null; then
|
elif command -v yum > /dev/null; then
|
||||||
# CentOS
|
# CentOS
|
||||||
logg info 'Installing Docker on CentOS'
|
logg info 'Installing Docker on CentOS'
|
||||||
sudo yum install -y yum-utils
|
sudo yum install -y yum-utils
|
||||||
sudo yum-config-manager --add-repo -y https://download.docker.com/linux/centos/docker-ce.repo
|
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
||||||
sudo yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
sudo yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
||||||
elif command -v apk > /dev/null; then
|
elif command -v apk > /dev/null; then
|
||||||
# Alpine
|
# Alpine
|
||||||
|
|
Loading…
Reference in a new issue