glances icon indicating copy to clipboard operation
glances copied to clipboard

Support for other Container Runtimes

Open christianhuth opened this issue 2 years ago • 4 comments

Describe the solution you'd like It would be awesome if we could use the provided Docker images on systems that don't use Docker and use other Container Runtimes like containerd or CRI-O for example. This would also enable the usage of glances in Kubernetes.

christianhuth avatar Dec 23 '22 13:12 christianhuth

Hi @christianknell

a related feature request concerning Podman is already in developement (https://github.com/nicolargo/glances/issues/1985) but looking for contributors...

In order to manage multiple container runtimes, the code should be completely refactor. The most imprtant think is the availabilty of an API in order to grab the stats. Ideally through a Python client...

Some docs for future development:

Containerd:

  • https://github.com/siemens/pycontainerd
  • https://dnephin.github.io/containerd/github.com/containerd/containerd/api/services/images/v1/images.html

CRI-o:

  • https://github.com/feiskyer/python-cri

nicolargo avatar Jan 02 '23 10:01 nicolargo

@christianknell

Just to get this clear, your request is for glances to support running in other runtimes than just docker. That is have pre-built glances container images to run on a container engine like containerd?

Did I get that right?

RazCrimson avatar May 09 '23 21:05 RazCrimson

Yes that's right @RazCrimson

christianhuth avatar May 30 '23 09:05 christianhuth

This issue is stale because it has been open for 3 months with no activity.

github-actions[bot] avatar Jul 28 '24 01:07 github-actions[bot]