Skip to content

lfv89/tmux-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tmux-containers

A tmux plugin that displays Docker container information in your status line.

image

Features

  • 🐳 Shows count of active Docker containers
  • 📊 Shows Docker memory usage
  • 💾 Displays Docker total disk usage

Installation

With TPM

  1. Add the plugin to your .tmux.conf:
set -g @plugin 'lfv89/tmux-containers'
  1. Add the #{containers} placeholder to your status line. For example:
set -g status-right "#{containers}"
  1. Press prefix + I to install the plugin (default prefix is Ctrl-b)

  2. Reload your tmux configuration:

tmux source-file ~/.tmux.conf

Without TPM

  1. Clone the repository:
git clone https://github.com/lfv89/tmux-containers ~/.tmux/plugins/tmux-containers
  1. Add to your .tmux.conf:
run-shell ~/.tmux/plugins/tmux-containers/containers.tmux
  1. Add the #{containers} placeholder to your status line:
set -g status-right "#{containers}"
  1. Reload your tmux configuration:
tmux source-file ~/.tmux.conf

About

🐳 A tmux plugin for displaying Docker information on the status line

Resources

License

Stars

Watchers

Forks

Contributors

Languages