Permission denied when sourcing tcb setup

Hello,

I receive the following when I try to source the tcb-env-setup.sh script:

parallels@ubuntu-linux-22-04-02-desktop:~/src/accel$ source tcb-env-setup.sh
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/json?filters=%7B%22reference%22%3A%7B%22torizon%2Ftorizoncore-builder%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied
TorizonCore Builder is not installed. Pulling the latest version from Docker Hub...
Setting up TorizonCore Builder with version 3.

Pulling TorizonCore Builder...
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/images/create?fromImage=torizon%2Ftorizoncore-builder&tag=3": dial unix /var/run/docker.sock: connect: permission denied
Error: could not pull TorizonCore Builder from Docker Hub!

Do you know why I’m getting permission denied?

My mistake, my active user wasn’t added to the correct docker permissions group.

1 Like