1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib
Stephen J Day 0aa4e1e689
cli: docker service|node|stack ps instead of tasks
Rather than conflict with the unexposed task model, change the names of
the object-oriented task display to `docker <object> ps`. The command
works identically to `docker service tasks`. This change is superficial.

This provides a more sensical docker experience while not trampling on
the task model that may be introduced as a top-level command at a later
date.

The following is an example of the display using `docker service ps`
with a service named `condescending_cori`:

```
$ docker service ps condescending_cori
ID                         NAME                  SERVICE             IMAGE   LAST STATE              DESIRED STATE  NODE
e2cd9vqb62qjk38lw65uoffd2  condescending_cori.1  condescending_cori  alpine  Running 13 minutes ago  Running        6c6d232a5d0e
```

The following shows the output for the node on which the command is
running:

```console
$ docker node ps self
ID                         NAME                  SERVICE             IMAGE   LAST STATE              DESIRED STATE  NODE
b1tpbi43k1ibevg2e94bmqo0s  mad_kalam.1           mad_kalam           apline  Accepted 2 seconds ago  Accepted       6c6d232a5d0e
e2cd9vqb62qjk38lw65uoffd2  condescending_cori.1  condescending_cori  alpine  Running 12 minutes ago  Running        6c6d232a5d0e
4x609m5o0qyn0kgpzvf0ad8x5  furious_davinci.1     furious_davinci     redis   Running 32 minutes ago  Running        6c6d232a5d0e
```

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-07-27 11:06:42 -07:00
..
apparmor apparmor: fix version checks to work properly 2016-02-15 20:36:07 +11:00
builder bump Go to 1.6.3 2016-07-18 23:15:03 +02:00
completion cli: docker service|node|stack ps instead of tasks 2016-07-27 11:06:42 -07:00
desktop-integration
docker-device-tool Add docs about how to extend devicemapper thin pool 2016-04-20 10:49:51 +08:00
docker-engine-selinux Update the binary name in docker-engine-selinux/docker.fc. 2016-04-27 11:41:21 -04:00
gitdm Add gitdm configuration 2016-05-28 21:08:20 -07:00
httpserver
init Remove the Require on the socket for the rpm 2016-07-26 14:56:27 -07:00
mkimage Update contrib/mkimage/debootstrap to account for Debian LTS changes 2016-05-04 08:39:45 -07:00
nnp-test Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
reprepro add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
syntax Update Dockerfile highlight definitions 2016-06-05 17:45:21 +02:00
syscall-test fix typos 2016-07-23 11:32:23 +08:00
udev
vagrant-docker
check-config.sh Add IPVLAN and DUMMY to check-config.sh 2016-07-07 21:21:57 -04:00
dockerize-disk.sh
download-frozen-image-v1.sh
download-frozen-image-v2.sh request a new token before downloading each layer 2016-02-14 16:56:07 +08:00
mkimage-alpine.sh Additional repo and container cleanup 2015-12-28 14:11:56 +01:00
mkimage-arch-pacman.conf
mkimage-arch.sh Add support for Arch Linux ARM. (Close #16695) 2015-12-13 19:48:40 +01:00
mkimage-archarm-pacman.conf Add support for Arch Linux ARM. (Close #16695) 2015-12-13 19:48:40 +01:00
mkimage-busybox.sh
mkimage-crux.sh
mkimage-debootstrap.sh
mkimage-rinse.sh
mkimage-yum.sh New features in mkimage-yum.sh script 2015-12-20 14:20:30 +02:00
mkimage.sh
nuke-graph-directory.sh
project-stats.sh
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00
report-issue.sh add execute bit to contrib/report-issue.sh 2016-02-16 12:55:15 +02:00
REVIEWERS

The contrib directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.