{"action":"created","issue":{"url":"https://api.github.com/repos/vfarcic/cloud-provisioning/issues/2","repository_url":"https://api.github.com/repos/vfarcic/cloud-provisioning","labels_url":"https://api.github.com/repos/vfarcic/cloud-provisioning/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/vfarcic/cloud-provisioning/issues/2/comments","events_url":"https://api.github.com/repos/vfarcic/cloud-provisioning/issues/2/events","html_url":"https://github.com/vfarcic/cloud-provisioning/issues/2","id":192927029,"number":2,"title":"DevOps2.1: Jenkins CI/CD","user":{"login":"white54503","id":14371483,"avatar_url":"https://avatars0.githubusercontent.com/u/14371483?v=3","gravatar_id":"","url":"https://api.github.com/users/white54503","html_url":"https://github.com/white54503","followers_url":"https://api.github.com/users/white54503/followers","following_url":"https://api.github.com/users/white54503/following{/other_user}","gists_url":"https://api.github.com/users/white54503/gists{/gist_id}","starred_url":"https://api.github.com/users/white54503/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/white54503/subscriptions","organizations_url":"https://api.github.com/users/white54503/orgs","repos_url":"https://api.github.com/users/white54503/repos","events_url":"https://api.github.com/users/white54503/events{/privacy}","received_events_url":"https://api.github.com/users/white54503/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-12-01T18:35:41Z","updated_at":"2017-03-01T22:04:13Z","closed_at":null,"body":"I'm following along with the leanpub _DevOps2.1 Toolkit_.  So far so good, but now the Jenkins CI/CD setup is proving difficult. With the swarm running:\r\n```\r\nLet’s create a Jenkins service.\r\n\r\n1 mkdir -p docker/jenkins\r\n2\r\n3 docker service create --name jenkins \\\r\n4 -p 8082:8080 \\\r\n5 -p 50000:50000 \\\r\n6 -e JENKINS_OPTS=\"--prefix=/jenkins\" \\\r\n7 --mount \"type=bind,source=$PWD/docker/jenkins,target=/var/jenkins_home\" \\\r\n8 --reserve-memory 300m \\\r\n9 jenkins:2.7.4-alpine\r\n10\r\n11 docker service ps jenkins\r\n```\r\n...\r\n`docker service ps jenkins` reports an error for the service (\"invalid bind mount source, source path not found...\").  However, the directory `$PWD/docker/jenkins` exists on local host.  \r\n\r\nI find a reference to this issue here: [https://github.com/docker/docker/issues/25912](url).  Still I can't resolve it.\r\n\r\nFeels like I'm missing something obvious... Any help greatly appreciated.  Thanks for sharing your work."},"comment":{"url":"https://api.github.com/repos/vfarcic/cloud-provisioning/issues/comments/283485698","html_url":"https://github.com/vfarcic/cloud-provisioning/issues/2#issuecomment-283485698","issue_url":"https://api.github.com/repos/vfarcic/cloud-provisioning/issues/2","id":283485698,"user":{"login":"rpchili","id":22778385,"avatar_url":"https://avatars0.githubusercontent.com/u/22778385?v=3","gravatar_id":"","url":"https://api.github.com/users/rpchili","html_url":"https://github.com/rpchili","followers_url":"https://api.github.com/users/rpchili/followers","following_url":"https://api.github.com/users/rpchili/following{/other_user}","gists_url":"https://api.github.com/users/rpchili/gists{/gist_id}","starred_url":"https://api.github.com/users/rpchili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpchili/subscriptions","organizations_url":"https://api.github.com/users/rpchili/orgs","repos_url":"https://api.github.com/users/rpchili/repos","events_url":"https://api.github.com/users/rpchili/events{/privacy}","received_events_url":"https://api.github.com/users/rpchili/received_events","type":"User","site_admin":false},"created_at":"2017-03-01T22:04:13Z","updated_at":"2017-03-01T22:04:13Z","body":"Thank You. See you soon\r\n"}}
{"actor":{"display_login":"rpchili"}}