Starts, but nothing displayed
See original GitHub issueHi,
I have started visualizer with this…
docker run --name=visualizer -it -d -p 9000:9000 -e HOST=10.2.10.34 -e PORT=9000 -v /var/run/docker.sock:/var/run/docker.sock manomarks/visualizer
and it shows up correctly as running, but has an undefined error (investigations show this is due to process.env.DOCKER_HOST being empty)
10.2.10.34 is the IP of our swarm master, although as below the master runs visualizer on swarm-node-02 at 10.2.10.44
90aa79e4b705 manomarks/visualizer "npm start" 3 minutes ago Up 3 minutes 8080/tcp, 10.2.10.44:9000->9000/tcp swarm-node-02/visualizer
npm info it worked if it ends with ok
npm info using npm@2.14.4
npm info using node@v4.1.2
npm info prestart swarmVisualizer@0.0.1
npm info start swarmVisualizer@0.0.1
> swarmVisualizer@0.0.1 start /app
> node server.js
undefined
This is on Docker 1.12, Swarm 1.2.5, deployed via boot2docker 1.12.0.
The end result is a screen identical to that in #19
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to Fix a Computer That Turns on but Displays Nothing
Try to wake your computer by jiggling the mouse, pressing a key on the keyboard, or quickly pressing the Power button. If your...
Read more >Don't Panic! 8 Solutions to Fix PC Turns On but No Display
Computer Turns On But no Display FAQ · Check the Power Supply, Laptop Charger and Battery · Disconnect All External Devices, Unplug All...
Read more >Why Do I Have No Display On Boot? How To Fix It
The most common reason why you have No Display on Boot is faulty cables and loose connections. Cable damage is hard to gauge...
Read more >[Fixed] Computer Turns On But No Display on Boot
The primary reason you get no display on your PC could be damaged or loosely connected cables. Other reasons may include incorrect display ......
Read more >[SOLVED] PC turns on but no display - 8 troubleshooting steps
Fix 1: Check your monitor · Fix 2: Check your HDMI cable · Fix 3: Try another monitor/display · Fix 4: Connect monitor...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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…
undefined
is crappy coding on my part. I just print the contents of theDOCKER_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 theundefined
you guys are seeing here is irrelevant / red herring.