My docker is installed with snap.
I added the following line
$ sudo cat /root/.docker/config.json { "experimental": "enabled" }