DockerCLI/cli/command
Boaz Shuster 1333b49194 Sort swarm stacks and nodes using natural sorting
This commit changes the order stacks and nodes are displayed.
For example, running "docker stack ls" is expected to
display the following list:

NAME          SERVICES
service-1     1
service-2     1
service-10    1

However, currently this is what is printed:

NAME          SERVICES
service-1     1
service-10    1
service-2     1

To fix this, "docker stack ls" and "docker node ls" are using
natural sorting to make it more human readable.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2017-07-13 14:33:02 +03:00
..
bundlefile Import docker/docker/cli 2017-04-17 17:40:59 -04:00
checkpoint Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
commands Add support for configs 2017-05-11 13:42:49 -07:00
config Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
container Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
formatter Pin all tools used in the Dockerfiles 2017-07-11 14:23:27 -04:00
idresolver cli: gofmt + goimports 2017-05-08 10:51:30 -07:00
image Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
inspect Unmarshal a number as a Number in RawInspectFallback 2017-06-21 13:10:14 +03:00
network Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
node Sort swarm stacks and nodes using natural sorting 2017-07-13 14:33:02 +03:00
plugin Update cli imports to using local package 2017-05-15 14:45:19 +02:00
prune Remove unused prune functions 2017-07-10 13:27:19 -07:00
registry login: add a --password-stdin argument 2017-07-11 12:16:29 -06:00
secret Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
service Update FakeCli to remove duplication in tests. 2017-07-11 14:49:30 -04:00
stack Sort swarm stacks and nodes using natural sorting 2017-07-13 14:33:02 +03:00
swarm Fix warning in docker CLI when `swarm ca --ca-cert`, etc. flags are passed, 2017-07-12 14:56:28 -07:00
system system prune: only warn about volumes if --volumes is given 2017-06-29 15:07:21 +02:00
task Update FakeCli to remove duplication in tests. 2017-07-11 14:49:30 -04:00
volume Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
cli.go Rename NewConfigFile to New in configfile package 2017-06-27 16:31:38 +02:00
events_utils.go Add deadcode linter. 2017-05-02 17:57:46 -04:00
in.go Fix docker run -it on windows 2017-05-03 18:41:19 -07:00
out.go Fix docker run -it on windows 2017-05-03 18:41:19 -07:00
registry.go Move credential getting functions to the ConfigFile. 2017-06-27 13:46:47 +02:00
registry_test.go Update some tests to remove unnecessary buffers. 2017-07-11 17:52:43 -04:00
stream.go Fix docker run -it on windows 2017-05-03 18:41:19 -07:00
trust.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
utils.go Add interfacer linter 2017-05-08 15:57:50 -04:00