我按照https://docs.docker.com/engine/getstarted-voting-app/
上的教程进行操作直到将堆栈部署到swarm节点结束。所有看起来都不错,当我打开:5000时,我无法在浏览器中连接错误。
我该如何调试?
做docker node ls print
VSKUMAR-mac:docker-stack vskumar$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
manager * virtualbox Running tcp://192.168.99.100:2376 v1.13.0
worker - virtualbox Running tcp://192.168.99.101:2376 v1.13.0
docker service ls的输出是
docker@manager:~$ docker service ls
ID NAME MODE REPLICAS IMAGE
09zd4pgn550j vote_db replicated 0/1 postgres:9.4
pwrp0vwurz43 vote_result replicated 0/1 dockersamples/examplevotingapp_result:before
q1xidl29t4b0 vote_visualizer replicated 0/1 dockersamples/visualizer:stable
vwkk0si87hd6 vote_redis replicated 0/2 redis:alpine
vxu7jq60e7ph vote_worker replicated 0/1 dockersamples/examplevotingapp_worker
zayel2tfj2u4 vote_vote replicated 0/2 dockersamples/examplevotingapp_vote:before
答案 0 :(得分:0)
正如johnharris85所表明的那样,它在一段时间之后确实加载了