icecrime / docker-mon Goto Github PK
View Code? Open in Web Editor NEWConsole-based Docker monitoring
License: Apache License 2.0
Console-based Docker monitoring
License: Apache License 2.0
Got this error when running:
docker run -ti -v /var/run/docker.sock:/var/run/docker.sock icecrime/docker-mon
ERROR: Error: Status from server was: 400
However, I noticed all the comments and last updates here are really old. I'm on docker 1.12. Does this even work with later versions of docker?
As it is now, switching monitored container doesn't close the stream, and displayed data alternates between all opened sources.
Is there any possibility to make it use at scale, say, monitor all containers across a Swarm cluster?
Unfortunately I am receiving the following error on all running containers:
404 page not found
is not JSON
Yet the container details part on the page is correctly filled when hitting enter on any of the containers. I am running boot2docker on OSX Yosemite:
โ docker-mon git:(master) docker version
Client version: 1.4.1
Client API version: 1.16
Go version (client): go1.3.3
Git commit (client): 5bc2ff8
OS/Arch (client): darwin/amd64
Server version: 1.4.1
Server API version: 1.16
Go version (server): go1.3.3
Git commit (server): 5bc2ff8
root@boot2docker:~# ls -la /var/run/docker.sock
srw-rw---- 1 root docker 0 Jan 25 16:08 /var/run/docker.sock
The exact same error also occurs when testing directly on a Debian Wheezy box (incl. backported 3.16 kernel).
any interest in doing a rewrite for this that uses https://github.com/gizak/termui
instead of blessed-contrib
?
Would it be possible to add some way of refreshing the list of containers? Either via a manual action (r
key) or automagically? It seems that currently one needs to restart docker-mon
in order to get the latest containers.
Funny thing I've been developing something somewhat similar, but with some different use cases.
Would love to get your thoughts on the following features:
docker exec -it <container id> /bin/bash
. I find myself writing scripts to do this all the time. I was using c
for "connect". The program would both connect to the container and stop itself. I didn't try to bring a terminal up in my utility.If the purpose of the tool is just to monitor, maybe these things aren't useful. But man, the screenshot is just awesome. Really amazing.
TypeError: Cannot read property 'rx_bytes' of undefined
at NetworkIO.update (/usr/src/widgets/network.js:24:47)
at /usr/src/index.js:217:45
at Array.map (native)
at /usr/src/index.js:217:22
at Request.<anonymous> (/usr/src/utils/index.js:49:14)
at emitOne (events.js:77:13)
at Request.emit (events.js:166:7)
at IncomingMessage.<anonymous> (/usr/src/node_modules/request/request.js:1184:12)
at emitOne (events.js:77:13)
at IncomingMessage.emit (events.js:166:7)
It would be super-useful to have a widget with docker logs
.
Hi,
I guess I had the same needs as @icecrime's and everyone else who likes and uses docker-mon so I recently set out to create dockly as a console UI for docker containers.
I noticed there has been some recent questions on the project and it hasn't been maintained for several years so I jumped in to share about dockly and would be happy to foster the community around it.
Thanks!
Running
docker run -ti -v /var/run/docker.sock:/var/run/docker.sock icecrime/docker-mon
von Ubuntu 14 always gives me the following error when I click on a container.
404 page not found
is not JSON
dgho@neu:$ docker info$ docker -D info
Containers: 4
Images: 377
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 389
Execution Driver: native-0.2
Kernel Version: 3.13.0-32-generic
Operating System: Ubuntu 14.04.1 LTS
CPUs: 12
Total Memory: 58.98 GiB
Name: neu
ID: NHZD:VRE3:X2ZW:QUFY:ZW65:5TRQ:LMH6:LJJB:C7WB:IBLF:JTGU:IN34
Username: zopyx
Registry: [https://index.docker.io/v1/]
WARNING: No swap limit support
dgho@neu:
Containers: 4
Images: 377
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 389
Execution Driver: native-0.2
Kernel Version: 3.13.0-32-generic
Operating System: Ubuntu 14.04.1 LTS
CPUs: 12
Total Memory: 58.98 GiB
Name: neu
ID: NHZD:VRE3:X2ZW:QUFY:ZW65:5TRQ:LMH6:LJJB:C7WB:IBLF:JTGU:IN34
Debug mode (server): false
Debug mode (client): true
Fds: 32
Goroutines: 33
EventsListeners: 0
Init Path: /usr/bin/docker
Docker Root Dir: /var/lib/docker
Username: zopyx
Registry: [https://index.docker.io/v1/]
WARNING: No swap limit support
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.