{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/771","labels_url":"https://api.github.com/repos/docker/swarm/issues/771/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/771/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/771/events","html_url":"https://github.com/docker/swarm/issues/771","id":75761192,"number":771,"title":"Admin only Swarm master","user":{"login":"arun-gupta","id":113947,"avatar_url":"https://avatars.githubusercontent.com/u/113947?v=3","gravatar_id":"","url":"https://api.github.com/users/arun-gupta","html_url":"https://github.com/arun-gupta","followers_url":"https://api.github.com/users/arun-gupta/followers","following_url":"https://api.github.com/users/arun-gupta/following{/other_user}","gists_url":"https://api.github.com/users/arun-gupta/gists{/gist_id}","starred_url":"https://api.github.com/users/arun-gupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arun-gupta/subscriptions","organizations_url":"https://api.github.com/users/arun-gupta/orgs","repos_url":"https://api.github.com/users/arun-gupta/repos","events_url":"https://api.github.com/users/arun-gupta/events{/privacy}","received_events_url":"https://api.github.com/users/arun-gupta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T22:26:08Z","updated_at":"2015-05-14T00:48:22Z","closed_at":null,"body":"Running three containers on a three host cluster, with `spread` strategy, shows the following output:\r\n\r\n```\r\nCONTAINER ID        IMAGE                                  COMMAND                CREATED              STATUS              PORTS                           NAMES\r\n7351d1490c5c        arungupta/wildfly-mysql-javaee7:host   \"/opt/jboss/wildfly/   About a minute ago   Up About a minute   192.168.99.106:8081->8080/tcp   swarm-master/mywildfly2   \r\nfd49a228591d        arungupta/wildfly-mysql-javaee7:host   \"/opt/jboss/wildfly/   5 minutes ago        Up 4 minutes        192.168.99.108:8080->8080/tcp   swarm-node-02/mywildfly   \r\nb49d627a0431        mysql:latest                           \"/entrypoint.sh mysq   About an hour ago    Up About an hour    192.168.99.107:3306->3306/tcp   swarm-node-01/mysqldb     \r\n```\r\n\r\nA container is started one each on master and two other nodes. It would be beneficial where Swarm master can be made purely admin-only, where no containers are deployed on it."},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/101867620","html_url":"https://github.com/docker/swarm/issues/771#issuecomment-101867620","issue_url":"https://api.github.com/repos/docker/swarm/issues/771","id":101867620,"user":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T00:48:22Z","updated_at":"2015-05-14T00:48:22Z","body":"@arun-gupta you can always use `-e node!=swarm-master` when you do a docker run ;)"}}