help - Display information about a command
The help
command displays information about how to use a command.
For example, to see a list of Swarm options and commands, enter:
1 | $ docker run swarm --help |
To see a list of arguments and options for a specific Swarm command, enter:
1 | $ docker run swarm <command> --help |
For example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | $ docker run swarm list --help Usage: swarm list [OPTIONS] <discovery> List nodes in a cluster Arguments: <discovery> discovery service to use [$SWARM_DISCOVERY] * etcd://<ip1>,<ip2>/<path> * zk://<ip1>,<ip2>/<path> * [nodes://]<ip1>,<ip2> Options: --timeout "10s" timeout period --discovery-opt [--discovery-opt option --discovery-opt option] discovery options |
Please login to continue.