Fedora 31 has started to use cgroups v2 by default. According to Common F31 bugs it doesn’t play nice with Docker, lxd and others. To make fedora switch back to the old cgroups:

sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"