Issue with installing docker in rootless mode

Issue with setting up rootless docker.
System is Ubuntu 18.04.

I tried to setup to run docker in rootless mode on ubuntu as explained on the docker site here(https://docs.docker.com/engine/security/rootless/). Every time I run the script I am running into an error that says: ‘Failed to start docker.service: Unit docker.service is not loaded properly’

Can anyone offer some help and or support??

Thanks,