Добавить docker.sh

This commit is contained in:
2024-05-23 03:22:16 +03:00
parent 16fc1fff9c
commit c9d4da70f5

19
docker.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
set -e
dnf remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
dnf -y install dnf-plugins-core
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin