To use docker without sudo, you need to be in the group docker
.
Read the Docker docs: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
Here's what to do:
If it doesn't, you'll need it anyway, so just run: