{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/1638","repository_url":"https://api.github.com/repos/docker/swarm","labels_url":"https://api.github.com/repos/docker/swarm/issues/1638/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/1638/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/1638/events","html_url":"https://github.com/docker/swarm/issues/1638","id":126636326,"number":1638,"title":"Run as service or daemon","user":{"login":"poliveira89","id":1919475,"avatar_url":"https://avatars.githubusercontent.com/u/1919475?v=3","gravatar_id":"","url":"https://api.github.com/users/poliveira89","html_url":"https://github.com/poliveira89","followers_url":"https://api.github.com/users/poliveira89/followers","following_url":"https://api.github.com/users/poliveira89/following{/other_user}","gists_url":"https://api.github.com/users/poliveira89/gists{/gist_id}","starred_url":"https://api.github.com/users/poliveira89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poliveira89/subscriptions","organizations_url":"https://api.github.com/users/poliveira89/orgs","repos_url":"https://api.github.com/users/poliveira89/repos","events_url":"https://api.github.com/users/poliveira89/events{/privacy}","received_events_url":"https://api.github.com/users/poliveira89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/area/doc","name":"area/doc","color":"fbca04"},{"url":"https://api.github.com/repos/docker/swarm/labels/kind/bug","name":"kind/bug","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-01-14T11:34:19Z","updated_at":"2016-09-20T21:21:41Z","closed_at":"2016-09-20T21:21:41Z","body":"After successfully install it by manual setup. I made the typical tests: `swarm version` and ...\r\n```bash\r\nswarm join --advertise=192.168.100.10:2375 token://<token>\r\nINFO[0000] Registering on the discovery service every 1m0s...  addr=192.168.100.10:2375 discovery=token://<token>\r\nINFO[0060] Registering on the discovery service every 1m0s...  addr=192.168.100.10:2375 discovery=token://<token>\r\nINFO[0121] Registering on the discovery service every 1m0s...  addr=192.168.100.10:2375 discovery=token://<token>\r\n...\r\n```\r\n\r\nBut the problem is that stays attached to the terminal/tty. I was wondering (and submitted this after searching for it), if I'm able to run any subcommand of Swarm as daemon/service similar to `-d` from `docker run`\r\n\r\nEDIT: I forgot to mention, I can run this like this:\r\n```\r\nswarm join --advertise=192.168.100.10:2375 token://<token>&\r\n```\r\nor\r\n```\r\nswarm join --advertise=192.168.100.10:2375 token://<token> > /dev/null 2>&1\r\n```\r\nBut I was wondering if it's a way more elegant."},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/248438369","html_url":"https://github.com/docker/swarm/issues/1638#issuecomment-248438369","issue_url":"https://api.github.com/repos/docker/swarm/issues/1638","id":248438369,"user":{"login":"mstanleyjones","id":7674613,"avatar_url":"https://avatars.githubusercontent.com/u/7674613?v=3","gravatar_id":"","url":"https://api.github.com/users/mstanleyjones","html_url":"https://github.com/mstanleyjones","followers_url":"https://api.github.com/users/mstanleyjones/followers","following_url":"https://api.github.com/users/mstanleyjones/following{/other_user}","gists_url":"https://api.github.com/users/mstanleyjones/gists{/gist_id}","starred_url":"https://api.github.com/users/mstanleyjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstanleyjones/subscriptions","organizations_url":"https://api.github.com/users/mstanleyjones/orgs","repos_url":"https://api.github.com/users/mstanleyjones/repos","events_url":"https://api.github.com/users/mstanleyjones/events{/privacy}","received_events_url":"https://api.github.com/users/mstanleyjones/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T21:21:41Z","updated_at":"2016-09-20T21:21:41Z","body":"I think this is fixed by #1568. If this is wrong, please reopen."}}
{"actor":{"display_login":"mstanleyjones"}}