Docker and Fedora 33
With the release of Fedora 33, Docker is not supported by Fedora 33 officially.
This article will help you install Docker on Fedora 33.
Remove old version
sudo dnf remove docker-*
sudo dnf config-manager --disable docker-*
Enable old CGroups
Docker still not support CgroupsV2.
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
Set up firewall
sudo firewall-cmd --permanent --zone=trusted --add-interface=docker0
sudo firewall-cmd --permanent --zone=FedoraWorkstation --add-masquerade
Install Moby
Moby is the open-source version of Docker.
sudo dnf install moby-engine docker-compose
sudo systemctl enable docker
restart sudo reboot
Test
sudo docker run hello-world
Runing without sudo
sudo groupadd docker
sudo usermod -aG docker $USER
//reboot to take effect
Top comments (2)
Thanks. It works like a charm.
Thanks! This hack worked. 👍