Last active
May 14, 2020 15:58
Revisions
-
Davidblkx revised this gist
May 14, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ sudo dnf install grubby sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" # Update Firewalld to use IPTABLES sudo sed -i 's/=nftables/=iptables/g' /etc/firewalld/firewalld.conf # Reboot sudo reboot -
Davidblkx created this gist
May 14, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ #/bin/bash # install docker in Fedora 32 # add repo sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo # use 31 version (There are no official support for 32) sudo sed -i 's/$releasever/31/g' /etc/yum.repos.d/docker-ce.repo # install docker-ce sudo dnf install docker-ce # Enable and start docker service sudo systemctl enable --now docker # Add current user to DOCKER group sudo usermod -aG docker $(whoami) # Switch to cgroup v1 sudo dnf install grubby sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" # Update Firewalld to use IPTABLES sudo sed -i 's/=iptables/=nftables/g' /etc/firewalld/firewalld.conf # Reboot sudo reboot