pipiliang / docker-dashboard Goto Github PK
View Code? Open in Web Editor NEWConsole based docker dashboard
Home Page: https://www.npmjs.com/package/docker-dashboard
License: MIT License
Console based docker dashboard
Home Page: https://www.npmjs.com/package/docker-dashboard
License: MIT License
$ sudo docker-dashboard
TypeError: Cannot read property 'IPAddress' of undefined
at Object.utils.toRow (/usr/lib/node_modules/docker-dashboard/lib/utils.js:17:79)
at containers.forEach.containerInfo (/usr/lib/node_modules/docker-dashboard/lib/widget-container.js:75:20)
at Array.forEach (<anonymous>)
at Object.callback (/usr/lib/node_modules/docker-dashboard/lib/widget-container.js:74:14)
at /usr/lib/node_modules/docker-dashboard/node_modules/dockerode/lib/docker.js:429:12
at Modem.buildPayload (/usr/lib/node_modules/docker-dashboard/node_modules/docker-modem/lib/modem.js:270:7)
at IncomingMessage.<anonymous> (/usr/lib/node_modules/docker-dashboard/node_modules/docker-modem/lib/modem.js:229:14)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
$ sudo docker-dashboard
TypeError: Cannot read property '0' of null
at images.forEach.s (/usr/lib/node_modules/docker-dashboard/lib/widget-images.js:26:23)
at Array.forEach (<anonymous>)
at Object.self.docker.listImages [as callback] (/usr/lib/node_modules/docker-dashboard/lib/widget-images.js:23:10)
at /usr/lib/node_modules/docker-dashboard/node_modules/dockerode/lib/docker.js:465:12
at Modem.buildPayload (/usr/lib/node_modules/docker-dashboard/node_modules/docker-modem/lib/modem.js:270:7)
at IncomingMessage.<anonymous> (/usr/lib/node_modules/docker-dashboard/node_modules/docker-modem/lib/modem.js:229:14)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
Hi there,
This is a great tool – I use it in both local and UAT environments and cannot recommended it enough –, still I'd love to be able to set some basic log file options such as the path and the log mode that this generates.
I can see that the current src/common/log.ts
has some functionalities such as "debug", "info", "error" and "warn", but still cannot make docker-dashboard
start in "error" mode or any other less-verbose mode, so if I run this tool during a couple hours in my local environment I may end up with a docker-dashboard.log
file of ~2 MB.
Is this possible to do?
OS: Ubuntu 16.04
Shell: ZSH
The x, y axis can not be displayed normally
xshell远程到ubuntu,执行后显示很多乱码,需要处理
[root@ding ~]# docker-dashboard
TypeError: value.toFixed is not a function
at formatYLabel (/usr/lib/node_modules/docker-dashboard/node_modules/blessed-contrib/lib/widget/charts/line.js:114:23)
at getMaxXLabelPadding (/usr/lib/node_modules/docker-dashboard/node_modules/blessed-contrib/lib/widget/charts/line.js:121:14)
at Line.setData (/usr/lib/node_modules/docker-dashboard/node_modules/blessed-contrib/lib/widget/charts/line.js:124:22)
at refreshData (/usr/lib/node_modules/docker-dashboard/lib/widget-container.js:86:11)
at IncomingMessage. (/usr/lib/node_modules/docker-dashboard/lib/widget-container.js:138:6)
at emitOne (events.js:116:13)
at IncomingMessage.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at IncomingMessage.Readable.push (_stream_readable.js:208:10)
Happens with node v6.9.1, directly on launch
TypeError: text.replace is not a function
at Object.helpers.stripTags (/Users/lionel/.nvm/versions/node/v6.9.4/lib/node_modules/docker-dashboard/node_modules/blessed/lib/helpers.js:137:6)
at ScrollableBox.Element.strWidth (/Users/lionel/.nvm/versions/node/v6.9.4/lib/node_modules/docker-dashboard/node_modules/blessed/lib/widgets/element.js:2543:15)
at /Users/lionel/.nvm/versions/node/v6.9.4/lib/node_modules/docker-dashboard/node_modules/blessed/lib/widgets/table.js:71:23
at Array.forEach (native)
at /Users/lionel/.nvm/versions/node/v6.9.4/lib/node_modules/docker-dashboard/node_modules/blessed/lib/widgets/table.js:70:9
at Array.forEach (native)
at ScrollableBox.Table._calculateMaxes (/Users/lionel/.nvm/versions/node/v6.9.4/lib/node_modules/docker-dashboard/node_modules/blessed/lib/widgets/table.js:69:13)
at ScrollableBox.ListTable.render (/Users/lionel/.nvm/versions/node/v6.9.4/lib/node_modules/docker-dashboard/node_modules/blessed/lib/widgets/listtable.js:171:8)
at /Users/lionel/.nvm/versions/node/v6.9.4/lib/node_modules/docker-dashboard/node_modules/blessed/lib/widgets/element.js:2334:8
at Array.forEach (native)
App is crashing when clicking on "Images", on ubuntu server 16.04
$ docker-dashboard
TypeError: Cannot read property '0' of null
at images.forEach.s (/usr/lib/node_modules/docker-dashboard/lib/widget-images.js:26:23)
at Array.forEach (native)
at Object.self.docker.listImages [as callback] (/usr/lib/node_modules/docker-dashboard/lib/widget-images.js:23:10)
at /usr/lib/node_modules/docker-dashboard/node_modules/dockerode/lib/docker.js:460:12
at Modem.buildPayload (/usr/lib/node_modules/docker-dashboard/node_modules/docker-modem/lib/modem.js:259:7)
at IncomingMessage.<anonymous> (/usr/lib/node_modules/docker-dashboard/node_modules/docker-modem/lib/modem.js:218:14)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
I think the title says itall - i am running current version from NPM, however when creating a new docker container i have to restart the dashboard for it to show up.
TypeError: Cannot read property 'length' of null
at /usr/lib/node_modules/docker-dashboard/lib/widget-home.js:79:44 v:📔 Volumes a:👦 About at process._tickCallback (internal/process/next_tick.js:109:7)
[2020-06-05T08:36:56.066] [ERROR] default - SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at IncomingMessage.stream.on (/usr/lib/node_modules/docker-dashboard/dist/common/docker/container.js:57:39) at IncomingMessage.emit (events.js:198:13) at addChunk (_stream_readable.js:288:12) at readableAddChunk (_stream_readable.js:269:11) at IncomingMessage.Readable.push (_stream_readable.js:224:10) at HTTPParser.parserOnBody (_http_common.js:124:22) at Socket.socketOnData (_http_client.js:451:20) at Socket.emit (events.js:198:13) at addChunk (_stream_readable.js:288:12)
当切换选择不同的容器,曲线显示会交替重合,流未正确关闭。
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.