i3status-rust icon indicating copy to clipboard operation
i3status-rust copied to clipboard

docker block doesn´t show podman containers

Open rochacbruno opened this issue 2 years ago • 1 comments

Hi,

I know this block is specifically for docker, however I decided to open the issue anyway.

I am using https://github.com/greshake/i3status-rust/blob/v0.22.0/doc/blocks.md#docker

[[block]]
block = "docker"
interval = 2
format = "{running}/{total}/{images}"

And I have switched from docker-compose to podman-compose and AFAIK podman doesn't talk to docker socket. So if I check docker ps it shows 0 running containers, while podman ps shows my compose containers.

So I leave some open questions.

  • Should docker block support podman?
  • Should a new block podman be added?
  • Should users customize by their own using a custom block?

Thanks

rochacbruno avatar Jan 17 '23 12:01 rochacbruno

Enable your podman socket and then set socket_path = "/run/user/1000/podman/podman.sock"

freswa avatar Feb 21 '23 20:02 freswa