docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

manage --rootdir argument is not documented #1090

Closed ahmetb closed 9 years ago

ahmetb commented 9 years ago

The --rootdir argument below has no documentation. Looks confusing.

$ docker run swarm:0.4.0-rc1 manage -h
Usage: swarm manage [OPTIONS] <discovery>

Manage a docker cluster

Arguments:
   <discovery>    discovery service to use [$SWARM_DISCOVERY]
                   * token://<token>
                   * consul://<ip>/<path>
                   * etcd://<ip1>,<ip2>/<path>
                   * file://path/to/file
                   * zk://<ip1>,<ip2>/<path>
                   * <ip1>,<ip2>

Options:
   --rootdir "/.swarm"
   --strategy "spread"                      placement strategy to use [spread, binpack, random]
   --filter, -f [--filter option --filter option]       filter to use [affinity, health, constraint, port, dependency]
   --host, -H [--host option --host option]         ip/socket to listen on [$SWARM_HOST]
   --replication                        Enable Swarm manager replication
   --advertise, --addr                      Address of the swarm manager joining the cluster. Other swarm manager(s) MUST be able to reach the swarm manager at this address. [$SWARM_ADVERTISE]
   --tls                            use TLS; implied by --tlsverify=true
   --tlscacert                          trust only remotes providing a certificate signed by the CA given here
[...]
thaJeztah commented 9 years ago

Interested in making a PR? :smile:

ahmetb commented 9 years ago

I'm not sure what it is about @thaJeztah :)

thaJeztah commented 9 years ago

Ah, ok, apologies in that case, I thought you did :+1:

aluzzardi commented 9 years ago

Indeed :) I think we are going to deprecate it soon enough.

MHBauer commented 9 years ago

@aluzzardi this is fixed by #1205 and can be closed.

jimmyxian commented 9 years ago

@MHBauer Thanks :+1: