=docs.docker.com/docker-for-mac/install

broken image
broken image

However, you could also add your non-root user to the Docker group which will allow it to execute docker commands. If you are not logged in as the root, one option is to use the sudo prefix. Step 3: Add a Non-Root User to the Docker Groupīy default, only users who have administrative privileges (root users) can run containers.