{"url":"https://api.github.com/gists/fd744bbc88d30e400e2c0b312e43a3f1","forks_url":"https://api.github.com/gists/fd744bbc88d30e400e2c0b312e43a3f1/forks","commits_url":"https://api.github.com/gists/fd744bbc88d30e400e2c0b312e43a3f1/commits","id":"fd744bbc88d30e400e2c0b312e43a3f1","node_id":"MDQ6R2lzdGZkNzQ0YmJjODhkMzBlNDAwZTJjMGIzMTJlNDNhM2Yx","git_pull_url":"https://gist.github.com/fd744bbc88d30e400e2c0b312e43a3f1.git","git_push_url":"https://gist.github.com/fd744bbc88d30e400e2c0b312e43a3f1.git","html_url":"https://gist.github.com/michaellihs/fd744bbc88d30e400e2c0b312e43a3f1","files":{"gocd-cheatsheet.md":{"filename":"gocd-cheatsheet.md","type":"text/markdown","language":"Markdown","raw_url":"https://gist.githubusercontent.com/michaellihs/fd744bbc88d30e400e2c0b312e43a3f1/raw/883500a2058af5e9e2e1ff9c1630e1cad4a2e1a6/gocd-cheatsheet.md","size":636,"truncated":false,"content":"GoCD Cheatsheet\n===============\n\nRunning GoCD in Docker\n----------------------\n\n    docker run -p 8153:8153 -p 8154:815 -it gocd/gocd-server\n    docker run --name gocd_agent -it gocd/gocd-agent \n\n    --> this show a Stacktrace for the Agent\n    --> execute the following command:\n   \n    docker exec gocd_agent /sbin/ip route|awk '/default/ { print  $3}'\n    \n    --> this will print the IP of the docker host, fill this into\n    --> CTRL+C to stop the agent container\n    \n    docker run -it --name gocd_agent -e GO_SERVER=172.17.0.1 gocd/gocd-agent\n    \n\nPorts for GoCD server:\n\n* UI will listen on 8153\n* Agents will connect to 8154\n","encoding":"utf-8"}},"public":true,"created_at":"2016-11-17T13:14:41Z","updated_at":"2016-11-17T13:14:42Z","description":"GoCD Cheatsheet","comments":0,"user":null,"comments_enabled":true,"comments_url":"https://api.github.com/gists/fd744bbc88d30e400e2c0b312e43a3f1/comments","owner":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"forks":[],"history":[{"user":{"login":"michaellihs","id":575011,"node_id":"MDQ6VXNlcjU3NTAxMQ==","avatar_url":"https://avatars.githubusercontent.com/u/575011?v=4","gravatar_id":"","url":"https://api.github.com/users/michaellihs","html_url":"https://github.com/michaellihs","followers_url":"https://api.github.com/users/michaellihs/followers","following_url":"https://api.github.com/users/michaellihs/following{/other_user}","gists_url":"https://api.github.com/users/michaellihs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellihs/subscriptions","organizations_url":"https://api.github.com/users/michaellihs/orgs","repos_url":"https://api.github.com/users/michaellihs/repos","events_url":"https://api.github.com/users/michaellihs/events{/privacy}","received_events_url":"https://api.github.com/users/michaellihs/received_events","type":"User","user_view_type":"public","site_admin":false},"version":"5fb1579b6160c110672919ea35536cafd1a409c2","committed_at":"2016-11-17T13:14:41Z","change_status":{"total":24,"additions":24,"deletions":0},"url":"https://api.github.com/gists/fd744bbc88d30e400e2c0b312e43a3f1/5fb1579b6160c110672919ea35536cafd1a409c2"}],"truncated":false}