Giter VIP home page Giter VIP logo

Comments (7)

tibmeister avatar tibmeister commented on June 26, 2024 2

Yep, and just found out what is going on, the HOST variable must match what is being used in the browser. I was using HOST=IP and using FQDN in the browser URL. Once I switched the HOST variable using FQDN it's working. So, that's an interesting thing...

from docker-swarm-visualizer.

raykrueger avatar raykrueger commented on June 26, 2024

I think you need to deploy this on a master node, with the master node IP in the url.

For example, if use my create-swarm script it now launches the visualizer on the manager node.
https://github.com/raykrueger/docker-swarm-mode-scripts

(note you need docker 1.12 and docker toolbox 1.12

from docker-swarm-visualizer.

tibmeister avatar tibmeister commented on June 26, 2024

I'm going to echo raykruger's comments. I have the identical screen that he has from issue #19. I am using the IP address of the host's eth0 as the HOST variable. I am using Docker 1.12.1 and have an active swarm. All this is running on CentOS7. This whole "undefined" is kinda disturbing...

Client:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built:
OS/Arch: linux/amd64

Server:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built:
OS/Arch: linux/amd64

from docker-swarm-visualizer.

ManoMarks avatar ManoMarks commented on June 26, 2024

@tibmeister are you running on a master node?

from docker-swarm-visualizer.

kylegordon avatar kylegordon commented on June 26, 2024

Mornings,

So part of my problem was that I was running swarm master and agents upgraded from 0.11 to 0.12, and not using the built in Docker Engine swarm mode. I've since destroyed the cluster, and rebuilt using built in Swarm, and it works.

I can confirm what @tibmeister says though, you have to match $HOST in the browser url in order to obtain any output from it.

My issue is closed, but whether this is another one... I'll leave that to @ManoMarks :-)

from docker-swarm-visualizer.

Laxman-SM avatar Laxman-SM commented on June 26, 2024

+1 @tibmeisten Thanks, I Have replace the $HOST with my docker-machine instance IP. now it working fine.

from docker-swarm-visualizer.

johnharris85 avatar johnharris85 commented on June 26, 2024

undefined is crappy coding on my part. I just print the contents of the DOCKER_HOST environment variable as my of a PR a while ago and forgot to remove the line. It doesn't need to be set so the undefined you guys are seeing here is irrelevant / red herring.

from docker-swarm-visualizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.