Skip to content

Unable to display content while containers are preparing #107

@jnovack

Description

@jnovack

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.

Activity

tf42src

tf42src commented on Jan 14, 2019

@tf42src

Same here.

18566246732

18566246732 commented on Jun 19, 2019

@18566246732

same here, any solutions ?

bvans

bvans commented on Jul 16, 2019

@bvans

Same here

JackyChou

JackyChou commented on Aug 13, 2019

@JackyChou

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

jnovack

jnovack commented on Sep 5, 2019

@jnovack
Author

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: #106)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jnovack@BretFisher@JackyChou@bvans@tf42src

        Issue actions

          Unable to display content while containers are preparing · Issue #107 · dockersamples/docker-swarm-visualizer