Rootless/unprivileged mode allows running the Docker daemon and containers as a non-root user to mitigate potential vulnerabilities in the daemon and the container runtime
Please follow the steps mentioned in Install Docker Engine on Ubuntu | Docker Documentation, which has a section “ Use Docker as a non-privileged user, or install in rootless mode ”, to allow running Docker in unprivileged mode.