Docker on Fedora 32

Written by James McDonald

July 16, 2020

Commands to run to get moby-engine running on Fedora 32

# as root or sudo'd
dnf install grubby
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierachy=0"
# check the output of the above
grubby --info=ALL
sudo mkdir /sys/fs/cgroup/systemd
sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

My version of docker moby-engine-19.03.11-1.ce.git42e35e6.fc32.x86_64

The error message you might see when trying to run a container

docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
ERRO[0000] error waiting for container: context canceled

Do it across reboots

Create two files as follows


Description=Docker run on Fedora 32




# run these on each boot to
# get the docker environment running

mkdir /sys/fs/cgroup/systemd
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

Make it executeable and register it to start on boot

chmod +x /usr/local/bin/
# make sure it has the correct seLinux context
restorecon -v /usr/local/bin/
systemctl enable docker-boot


Submit a Comment

Your email address will not be published.

You May Also Like…


Zebra Printer Language The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...