In lot of instructions how to run docker on Ubuntu 20.04 (same applies to Linux Mint Ulyana) you may find that after installing docker you have to add your user to docker group by the following command:

1
sudo usermod -aG docker $USER

If you still get permission errors, you may try to set ACL:

1
sudo setfacl -m user:$USER:rw /var/run/docker.sock