Cannot proceed fenicsproject run in ubuntu 18.04.6

Dear everyone
I installed the fenics through Docker CE, but when I tested it through “fenicsproject run” it showed the listed words:

dell-123@Precision-7920-Tower:~/fenics-projects$ fenicsproject run
errors pretty printing info
errors pretty printing info
[docker volume create --name instant-cache-quay.iofenicsprojectstablecurrent]

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/volumes/create": dial unix /var/run/docker.sock: connect: permission denied

I have added the permission to docker by “sudo usermod -a -G docker $USER”, so I don’t know why this happened.

And if I run with “fenicsproject run” it will show:

dell-123@Precision-7920-Tower:~/fenics-projects$ sudo fenicsproject run
[sudo] password for dell-123: 
sudo: fenicsproject: command not found