byrnedo / dockdash Goto Github PK
View Code? Open in Web Editor NEWDocker dashboard using Termui
License: MIT License
Docker dashboard using Termui
License: MIT License
Thanks for this tool Donal!
It would be great if you could fix some problems with the deb package.
Tested it with lintian and got some errors and warnings. See output below. I don't have the answer to the different errors and warnings, but I guess you can find detailed info online.
# lintian dockdash_0.11_amd64.deb
E: dockdash: unstripped-binary-or-object usr/local/bin/dockdash
W: dockdash: hardening-no-relro usr/local/bin/dockdash
W: dockdash: missing-depends-line
E: dockdash: changelog-file-missing-in-native-package
E: dockdash: control-file-has-bad-permissions postinst 0775 != 0755
E: dockdash: control-file-has-bad-owner postinst donalb/donalb != root/root
W: dockdash: unknown-control-file prerem
E: dockdash: no-copyright-file
W: dockdash: unknown-section base
E: dockdash: wrong-file-owner-uid-or-gid usr/ 1001/1001
W: dockdash: non-standard-dir-perm usr/ 0775 != 0755
E: dockdash: wrong-file-owner-uid-or-gid usr/local/ 1001/1001
W: dockdash: non-standard-dir-perm usr/local/ 0775 != 0755
E: dockdash: wrong-file-owner-uid-or-gid usr/local/bin/ 1001/1001
E: dockdash: dir-in-usr-local usr/local/bin/
W: dockdash: non-standard-dir-perm usr/local/bin/ 0775 != 0755
E: dockdash: wrong-file-owner-uid-or-gid usr/local/bin/dockdash 1001/1001
E: dockdash: file-in-usr-local usr/local/bin/dockdash
W: dockdash: file-in-unusual-dir usr/local/bin/dockdash
Dockdash - Interactive realtime container inspector
┌%CPU───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ │
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌%MEM───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ │
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌Name───────────────────────────────┐┌Image─────────────────────────────────────────────────────────────────────────────────────────────────────────┐
└───────────────────────────────────┘└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x967f9]
goroutine 12 [running]:
github.com/byrnedo/dockdash/docklistener.dockerEventRoutingRoutine(0xc820018d20, 0xc820018a80, 0xc820018ae0)
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/docklistener/docklistener.go:98 +0x1099
created by github.com/byrnedo/dockdash/docklistener.Init
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/docklistener/docklistener.go:62 +0x224
goroutine 1 [chan receive]:
main.main()
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/main.go:199 +0x90f
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1721 +0x1
goroutine 5 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 6 [select, locked to thread]:
runtime.gopark(0x4c34b0, 0xc820030728, 0x415340, 0x6, 0x2fe18, 0x2)
/usr/local/go/src/runtime/proc.go:185 +0x163
runtime.selectgoImpl(0xc820030728, 0x0, 0x18)
/usr/local/go/src/runtime/select.go:392 +0xa64
runtime.selectgo(0xc820030728)
/usr/local/go/src/runtime/select.go:212 +0x12
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal1_unix.go:227 +0x323
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1721 +0x1
goroutine 7 [select]:
github.com/nsf/termbox-go.Init.func1()
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/Godeps/_workspace/src/github.com/nsf/termbox-go/api.go:87 +0x40c
created by github.com/nsf/termbox-go.Init
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/Godeps/_workspace/src/github.com/nsf/termbox-go/api.go:106 +0x8b9
goroutine 8 [select]:
github.com/nsf/termbox-go.PollEvent(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/Godeps/_workspace/src/github.com/nsf/termbox-go/api.go:321 +0x6b3
github.com/gizak/termui.evtListen.func1()
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/Godeps/_workspace/src/github.com/gizak/termui/events.go:164 +0x24
created by github.com/gizak/termui.evtListen
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/Godeps/_workspace/src/github.com/gizak/termui/events.go:172 +0x2b
goroutine 9 [select]:
main.main.func1()
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/main.go:108 +0x1343
created by main.main
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/main.go:195 +0x8b5
goroutine 11 [select]:
github.com/byrnedo/dockdash/docklistener.statsRenderingRoutine(0xc820018c00)
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/docklistener/docklistener.go:154 +0x3cd
created by github.com/byrnedo/dockdash/docklistener.Init
/Users/zhongweilzw/go/src/github.com/byrnedo/dockdash/docklistener/docklistener.go:60 +0x1e6
%
Decrease barriers to entry for trying out this cool utility!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.