docker-swarm-visualizer icon indicating copy to clipboard operation
docker-swarm-visualizer copied to clipboard

Unable to display content while containers are preparing

Open jnovack opened this issue 6 years ago • 5 comments

data-provider.js fails during container preparation (downloading, preparing).

This causes a complete halt of the visualization in the event you have a restart:always container failing on preparing (e.g. 'Invalid mount type..', etc)

data-provider.js:85 Uncaught (in promise) TypeError: Cannot read property 'ContainerID' of undefined
    at data-provider.js:85
    at a (index.js:326)
    at Function.<anonymous> (index.js:3241)
    at s (data-provider.js:67)
    at Array.forEach (<anonymous>)
    at w (data-provider.js:221)
    at data-provider.js:280

Not sure why, as it should've had a container ID to get that far.

jnovack avatar Apr 20 '18 11:04 jnovack

Same here.

tf42src avatar Jan 14 '19 05:01 tf42src

same here, any solutions ?

18566246732 avatar Jun 19 '19 14:06 18566246732

Same here

bvans avatar Jul 16 '19 03:07 bvans

I have encountered this problem when I get start with docker. https://docs.docker.com/get-started/part5/

And I found the container in myvm2 is Preparing. $docker stack ps getstartedlab ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS 7uiy2jfca5v9 getstartedlab_web.1 pythonmonk/get-started:part2 myvm2 Running Preparing 48 seconds ago 33zbxjp55ski getstartedlab_web.2 pythonmonk/get-started:part2 myvm1 Running Running 46 seconds ago mt59tf8oywnc getstartedlab_web.3 pythonmonk/get-started:part2 myvm1 Running Running 46 seconds ago weha4ugjk3cw getstartedlab_web.4 pythonmonk/get-started:part2 myvm2 Running Preparing 48 seconds ago 524ifqhefxgl getstartedlab_web.5 pythonmonk/get-started:part2 myvm1 Running Running 46 seconds ago

This maybe the reason for this problem. $docker-machine ssh myvm2 "docker container ls" CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

JackyChou avatar Aug 13 '19 03:08 JackyChou

The maintainers have made it clear that to keep this project as "simple as possible", they do not care about outstanding issues or enhancing the project. (Reference: https://github.com/dockersamples/docker-swarm-visualizer/pull/106)

I suggest you either download, apply the pull request yourself, and rebuild yourself, or move-on to another project.

jnovack avatar Sep 05 '19 13:09 jnovack