Going through Part 3 tutorial of Docker’s Getting Started.
I was able to run the load balanced app with 5 instances using the command
docker stack deploy -c docker-compose.yml getstartedlab
$ docker stack deploy -c docker-compose.yml getstartedlab top-level network "webnet" is ignored service "web": network "webnet" is ignored Waiting for the stack to be stable and running... web: Ready [pod status: 5/5 ready, 0/5 pending, 0/5 failed]
But, when I try to list the services with command
docker service ls it does not show any data.
$ docker service ls ID NAME MODE REPLICAS IMAGE PORTS
Am I doing something wrong here. Could anyone please guide me?