https://docs.docker.com/engine/reference/commandline/service_ls/
docker service ls -f "id=0bcjw"
docker service ls --filter label=project
docker service ls --filter mode=global
docker service ls --filter name=redis
docker service ls --filter label=project=project-a
https://docs.docker.com/engine/reference/commandline/service_ps/
docker service ps py_runbb -f "desired-state=shutdown" ##running shutdown accepted
https://docs.docker.com/engine/reference/commandline/service_rm/
#打标签
docker node update --label-add nname=node1 worker1 #node.labels.nname == node1
cat <<EOL >>~/.bashrc
alias dk='docker'
alias ds='docker service'
EOL
source ~/.bashrc