i3status_rs::blocks

Module docker

source
Expand description

Local docker daemon status

§Configuration

KeyValuesDefault
intervalUpdate interval, in seconds.5
formatA string to customise the output of this block. See below for available placeholders." $icon $running.eng(w:1) "
socket_pathThe path to the docker socket. Supports path expansions e.g. ~."/var/run/docker.sock"
KeyValueTypeUnit
iconA static iconIcon-
totalTotal containers on the hostNumber-
runningContainers running on the hostNumber-
stoppedContainers stopped on the hostNumber-
pausedContainers paused on the hostNumber-
imagesTotal images on the hostNumber-

§Example

[[block]]
block = "docker"
interval = 2
format = " $icon $running/$total "

§Icons Used

  • docker

Structs§

Functions§