August 2017
Intermediate to advanced
332 pages
9h 16m
English
The services have started. We can check that they are running with the docker service ls command:
$ docker service lsID NAME MODE REPLICAS IMAGE5jbdzt9wolor app_calculator replicated 3/3 leszko/calculator:latestzrr4pkh3n13f app_redis replicated 1/1 redis:latest
We can look even closer at the services and check on which Docker hosts they have been deployed:
$ docker service ps app_calculatorID NAME IMAGE NODE DESIRED STATE CURRENT STATE jx0ipdxwdilm app_calculator.1 leszko/calculator:latest ubuntu-manager Running Running 57 seconds ago psweuemtb2wf app_calculator.2 leszko/calculator:latest ubuntu-worker1 Running Running about a minute ago iuas0dmi7abn app_calculator.3 leszko/calculator:latest ubuntu-worker2 ...
Read now
Unlock full access