docker run -p 8153:8153 -p 8154:815 -it gocd/gocd-server
docker run --name gocd_agent -it gocd/gocd-agent
--> this show a Stacktrace for the Agent
--> execute the following command:
docker exec gocd_agent /sbin/ip route|awk '/default/ { print $3}'
--> this will print the IP of the docker host, fill this into
--> CTRL+C to stop the agent container
docker run -it --name gocd_agent -e GO_SERVER=172.17.0.1 gocd/gocd-agent
Ports for GoCD server:
- UI will listen on 8153
- Agents will connect to 8154