Microk8s on fedora32: cgroup v2 and docker/podman: is there a guide that works?

I’m trying to get microk8s running under fedora 32. It looks like there are 2 issues related to cgroup v2 and docker. I am running podman vs docker. Here’s the error messages:

~  microk8s inspect
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-control-plane-kicker is running
  Service snap.microk8s.daemon-proxy is running
  Service snap.microk8s.daemon-kubelet is running
  Service snap.microk8s.daemon-scheduler is running
  Service snap.microk8s.daemon-controller-manager is running
  Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
  Copy processes list to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy disk usage information to the final report tarball
  Copy memory usage information to the final report tarball
  Copy server uptime to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster
Inspecting juju
  Inspect Juju
Inspecting kubeflow
  Inspect Kubeflow

WARNING:  Docker is installed. 
File "/etc/docker/daemon.json" does not exist. 
You should create it and add the following lines: 
{
    "insecure-registries" : ["localhost:32000"] 
}
and then restart docker with: sudo systemctl restart docker
WARNING:  The memory cgroup is not enabled. 
The cluster may not be functioning properly. Please ensure cgroups are enabled 
See for example: https://microk8s.io/docs/install-alternatives#heading--arm 
 FAIL:  Cgroup v1 seems not to be enabled. Please enable it 
	by executing the following command and reboot: 
	grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" 
Building the report tarball
  Report tarball is at /var/snap/microk8s/1864/inspection-report-20201229_113655.tar.gz

Thoughts on how to resolve this? I can’t turn off cgroup v2 as it can impact other software.

I’ve found a few links but nothing that allows me to use cgroup v2 and podman together. I’ve not found much else on these topics.

Is there a fedora guide that works?

docker has a stable cgroup v2 version out now probably just upgrade docker to newest version and try again

I can give it a try. I’m hoping to use podman as I’ve used that for awhile.

It seems that the microk8s seems to think docker is installed because there is a docker command (aliased to podman). I’ll try updating everything again.