forked from Interanet/server-bootstrap
initial commit
This commit is contained in:
16
scripts/docker/os/rhel.sh
Normal file
16
scripts/docker/os/rhel.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
echo "Installing Docker for RHEL-based systems..."
|
||||
|
||||
dnf install -y dnf-plugins-core
|
||||
|
||||
dnf config-manager --add-repo \
|
||||
https://archive.ito.gov.ir/docker-ce/linux/centos/docker-ce.repo
|
||||
|
||||
dnf install -y \
|
||||
docker-ce \
|
||||
docker-ce-cli \
|
||||
containerd.io \
|
||||
docker-buildx-plugin \
|
||||
docker-compose-plugin
|
||||
Reference in New Issue
Block a user