Menu

Show your Docker containers in your Mac menu bar
📰

Show your Docker containers in your Mac menu bar

DEV Community: docker·Great Work·12 days ago
#vC7eAvcd
#devtodocker#devto#dev#docker#meter
Long article (561 words) — no AI summary yet.
Reading 0:00
15s threshold

This guide first appeared on multimeterapp.com . Multimeter is a Mac menu bar app that turns any number into a live meter.

How many containers are up, and are any of them unhealthy? The docker command answers both; a Script meter keeps asking.

What you need

Multimeter for macOS 13 or later, $19.99 once.

The direct download version of Multimeter from this site (the Script source isn’t in the Mac App Store version).

Docker Desktop, OrbStack or Colima running (anything that provides the docker command).

Set it up

Check the count in Terminal:

docker ps -q | wc -l

Enter fullscreen mode

Exit fullscreen mode

Add a Script meter with it, refreshing every 30 seconds.

Set the range to 0 to how many containers you expect, with alerts on Low values one under that.

Multimeter settings

In Customize This Meter… (from the meter’s menu):

Settings for this meter

Setting Value

Source Script

Command `docker ps -q \

Refresh every 30 seconds

Range 0 to your usual count, like 8

Alerts Low values: warning 7,…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.