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

Add support for docker stats #150

Closed
dcaixinha opened this issue Feb 3, 2021 · 3 comments
Closed

Add support for docker stats #150

dcaixinha opened this issue Feb 3, 2021 · 3 comments

Comments

@dcaixinha
Copy link

Reopening issue 50 from docker-emacs. I'd like to add support for docker stats.

This command on its own already opens a stream that auto-updates – this would be the simplest integration but it would mean that we had to run a ansi-shell to display it and we wouldn't be able to sort, as we currently are in other commands (e.g. docker images ls).

Another possibility is to use the --no-stream argument and call it every X seconds, then following a logic similar to docker-image.el.

What do you think about this?

@antoineB
Copy link
Contributor

Directly hit the API (https://docs.docker.com/engine/api/v1.41/#operation/ContainerStats) for better integration in emacs.

There is https://github.com/Silex/docker-api.el by the same author I don't know why he decided to use the docker cmd line instead.

@Silex
Copy link
Owner

Silex commented Aug 4, 2021

There is https://github.com/Silex/docker-api.el by the same author I don't know why he decided to use the docker cmd line instead.

See #2

Using the API means reinventing a lot of what the docker cmd line does for me. But hey PR welcome 😉

@Silex
Copy link
Owner

Silex commented May 22, 2023

Closing due to inactivity, reopen if needed.

@Silex Silex closed this as completed May 22, 2023
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

3 participants