Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See parental hierarchy from an image #33

Open
alevinetx opened this issue Dec 8, 2016 · 0 comments
Open

See parental hierarchy from an image #33

alevinetx opened this issue Dec 8, 2016 · 0 comments

Comments

@alevinetx
Copy link

alevinetx commented Dec 8, 2016

Assuming I have 2 images, base and compound, where compound is built upon base. If I run dockviz against base, I see the diagram down to compound. However, if I run dockviz against compound, the only item that appears is compound. Is there a way to force an upward tree from an image, to see its hierarchy?

Here is the current output of showing from base down, and then the output from compound3 (which doesn't show its parent hierarchy)

[jenkins@dev-ral0098 ~]$ dockviz images -l -d myorg/base:1.0.0-SNAPSHOT
digraph docker {
base -> "synth:288a4d" [style=invis]
"synth:288a4d" [label="133a02990407\nmyorg/base:1.0.0-SNAPSHOT",shape=box,fillcolor="paleturquoise",style="filled,rounded"];
"synth:288a4d" -> "synth:35a644"
"synth:35a644" [label="bc55eaecb80d\nmyorg/compound1:1.0.0-SNAPSHOT\nmyorg/compound1:latest",shape=box,fillcolor="paleturquoise",style="filled,rounded"];
"synth:288a4d" -> "synth:e3dbd2"
"synth:e3dbd2" [label="f2ceff0af63e\nmyorg/compound2:1.0.0-SNAPSHOT\nmyorg/compound2:latest",shape=box,fillcolor="paleturquoise",style="filled,rounded"];
"synth:288a4d" -> "synth:70f2b6"
"synth:70f2b6" [label="3980b2ad1f67\nmyorg/compound3:1.0.0-SNAPSHOT\nmyorg/compound3:latest",shape=box,fillcolor="paleturquoise",style="filled,rounded"];
base [style=invisible]
}
[jenkins@dev-ral0098 ~]$ dockviz images -l -d myorg/compound3
digraph docker {
base -> "synth:70f2b6" [style=invis]
"synth:70f2b6" [label="3980b2ad1f67\nmyorg/compound3:1.0.0-SNAPSHOT\nmyorg/compound3:latest",shape=box,fillcolor="paleturquoise",style="filled,rounded"];
base [style=invisible]

I hope this makes sense.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant