TeamCity in docker on Ubuntu 16.04
Answered
I have set up TeamCity server & agent in docker containers on a Ubuntu 16.04 virtual machine. I am using a simple command line build script step (' docker version') to test the set up.
The VCS trigger is working OK.
Clicking the run button results in the following error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Any ideas cos I am stuck?
Please sign in to leave a comment.
You probably need to forward the Docker sock to the build you are running.
This is located under Build Configuration of the Build you are trying to run.