Coder Social home page Coder Social logo

docker-mon's People

Contributors

christopherbiscardi avatar dennisdegreef avatar jessfraz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-mon's Issues

Buggy graphs

shot

Note the gaps in the cpu graph caused by (I'm guessing) interpolation of the word null instead of a given number.

This may be caused by the EACCESS at the top right... I have no idea why that would happen.

tried to run it and ran into that issue:

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)

Receiving 404 errors on all containers

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).

rewrite using termui ?

any interest in doing a rewrite for this that uses https://github.com/gizak/termui instead of blessed-contrib?

Useful ideas?

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:

  1. Ability to connect to the selected container with bash. 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.
  2. Ability to stop/rm containers. I was reporting status in the list (s = stopped, r = running). As a developer - when I'm iterating and starting/stopping lots of containers, I always end up with orphaned containers that I have to remove, etc. Would be nice to have hot-keys to clean up.
  3. I wanted to extend the utility to also manage images in a lightweight way. Ability to list images for the purposes of cleaning up. For example, I built an image and it was bad and I want to delete it. Also for tagging images that somehow are without tags.

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.

Would like to recommend dockly as an alternative

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!

Does not seem to work

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?

404 page not found is not JSON

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
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:
$ 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
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

(Automatic) refresh

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.