Issue with docker service ps command after docker CE version upgrade on all nodes in swarm

crazyhorse019
Fri, 02 Nov 2018 15:33:17 +0000
Swarm

Good Afternoon,

I was hoping someone would be able to shed some light on a potential issue I have. I am new to docker and I am upgrading the docker version of all my nodes in my test swarm. Before the upgrade I was able to use the command - docker service ps and it would list all the containers across all swarm nodes and whether they were running or not, for how long… etc. I have now upgraded every node in the swarm from docker ce - 17.5.0 to docker-ce=17.12.1~ce-0~ubuntu. When I run the same command i get:

docker service ps 1-_
no such service: 1-_

Looking this up is there a requirement to re-create the service ‘1-_’ ? and do I have to assign the service as a label against each container to get all the containers listed when I run that docker service ps command?

Thanks in advance for any help on this.

1 post - 1 participant