A tmux plugin that displays Docker container information in your status line.
- 🐳 Shows count of active Docker containers
- 📊 Shows Docker memory usage
- 💾 Displays Docker total disk usage
- Add the plugin to your
.tmux.conf:
set -g @plugin 'lfv89/tmux-containers'- Add the
#{containers}placeholder to your status line. For example:
set -g status-right "#{containers}"-
Press
prefix + Ito install the plugin (default prefix isCtrl-b) -
Reload your tmux configuration:
tmux source-file ~/.tmux.conf- Clone the repository:
git clone https://github.com/lfv89/tmux-containers ~/.tmux/plugins/tmux-containers- Add to your
.tmux.conf:
run-shell ~/.tmux/plugins/tmux-containers/containers.tmux- Add the
#{containers}placeholder to your status line:
set -g status-right "#{containers}"- Reload your tmux configuration:
tmux source-file ~/.tmux.conf