Update docker-rocky.sh
This commit is contained in:
parent
dfdd3d9be3
commit
c91413b671
@ -19,6 +19,7 @@ ln -s /root/update.sh /etc/cron.weekly/update_docker
|
|||||||
|
|
||||||
touch docker-compose.yml
|
touch docker-compose.yml
|
||||||
|
|
||||||
|
dnf install -y 'dnf-command(config-manager)'
|
||||||
# install docker
|
# install docker
|
||||||
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
|
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
|
||||||
dnf install -y docker-ce docker-compose-plugin
|
dnf install -y docker-ce docker-compose-plugin
|
||||||
|
Loading…
Reference in New Issue
Block a user