Docker snap on CentOS works only after changing "aufs" to "overlay2"

Hi,
I tried installing docker snap on CentOS but the service failed to start with message: “Error starting daemon: error initializing graphdriver: driver not supported”
After some searches on the web I found the following solution:
Edit the value of “storage-driver” in /var/snap/docker/current/config/daemon.json from “aufs” to “overlay2”

Did someone also encountered that issue? Can we solve it by editing the Docker snap installation script?

Thanks