Skip to content

Instantly share code, notes, and snippets.

@abrahamfast
Created August 27, 2021 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abrahamfast/85c0f696ceeccf334385d012a82a15e4 to your computer and use it in GitHub Desktop.
Save abrahamfast/85c0f696ceeccf334385d012a82a15e4 to your computer and use it in GitHub Desktop.
docker_install.sh
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 -y install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io
systemctl enable docker
systemctl start docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment