{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/1090","labels_url":"https://api.github.com/repos/docker/swarm/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/1090/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/1090/events","html_url":"https://github.com/docker/swarm/issues/1090","id":97376267,"number":1090,"title":"manage --rootdir argument is not documented","user":{"login":"ahmetalpbalkan","id":159209,"avatar_url":"https://avatars.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetalpbalkan","html_url":"https://github.com/ahmetalpbalkan","followers_url":"https://api.github.com/users/ahmetalpbalkan/followers","following_url":"https://api.github.com/users/ahmetalpbalkan/following{/other_user}","gists_url":"https://api.github.com/users/ahmetalpbalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetalpbalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetalpbalkan/subscriptions","organizations_url":"https://api.github.com/users/ahmetalpbalkan/orgs","repos_url":"https://api.github.com/users/ahmetalpbalkan/repos","events_url":"https://api.github.com/users/ahmetalpbalkan/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetalpbalkan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-27T03:17:53Z","updated_at":"2015-07-27T03:17:53Z","closed_at":null,"body":"The `--rootdir` argument below has no documentation. Looks confusing.\r\n\r\n```\r\n$ docker run swarm:0.4.0-rc1 manage -h\r\nUsage: swarm manage [OPTIONS] <discovery>\r\n\r\nManage a docker cluster\r\n\r\nArguments:\r\n   <discovery>    discovery service to use [$SWARM_DISCOVERY]\r\n                   * token://<token>\r\n                   * consul://<ip>/<path>\r\n                   * etcd://<ip1>,<ip2>/<path>\r\n                   * file://path/to/file\r\n                   * zk://<ip1>,<ip2>/<path>\r\n                   * <ip1>,<ip2>\r\n\r\nOptions:\r\n   --rootdir \"/.swarm\"\r\n   --strategy \"spread\"\t\t\t\t\t\tplacement strategy to use [spread, binpack, random]\r\n   --filter, -f [--filter option --filter option]\t\tfilter to use [affinity, health, constraint, port, dependency]\r\n   --host, -H [--host option --host option]\t\t\tip/socket to listen on [$SWARM_HOST]\r\n   --replication\t\t\t\t\t\tEnable Swarm manager replication\r\n   --advertise, --addr \t\t\t\t\t\tAddress of the swarm manager joining the cluster. Other swarm manager(s) MUST be able to reach the swarm manager at this address. [$SWARM_ADVERTISE]\r\n   --tls\t\t\t\t\t\t\tuse TLS; implied by --tlsverify=true\r\n   --tlscacert \t\t\t\t\t\t\ttrust only remotes providing a certificate signed by the CA given here\r\n[...]\r\n```"}}