Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages