For security, I want to authorize with my password any communications with the Docker socket.
Thus, I do not add myself to the docker group so that I will be challenged for a password when I try to communicate with the docker socket via sudo.
When I run the command circleci build
I get the response
Downloading latest CircleCI build agent...
Error: Could not find picard image: failed to pull latest docker image: exit status 1
notwithstanding that I already did
sudo docker pull circleci/picard
Is my guess that the circleci build
assumes that I can invokes docker
without sudo
, and, if so, how do I change the configuration so that circleci will use sudo
for the docker
command?