Menu

1 / 2

Using TMUX and tmuxinator for a better docker compose experience

DEV Community·Nathan Cook·7 months ago
#4RXvrzUB
#tmux#how#plugins#resources#configuring
Reading 0:00
15s threshold

This tutorial provides a practical introduction to TMUX and how you can use tmuxinator to easily set up terminal dashboards with logs and shell sessions for your docker compose projects.

After a (very) brief overview of basic TMUX commands, we'll look at using tmuxinator to more easily configure TMUX with YAML configuration files, and at the end we'll go over how to install and use TMUX plugins.

This tutorial was written for Linux or WSL users (I'm running Ubuntu).

( Example repo )

Article Index

The Pitch

Install Packages

Basic TMUX Commands

Configuring TMUX (~/.tmux.config)

Tmuxinator (.tmuxinator.yml)

TMUX plugins

Resources and Links

Extra: Issues with Docker Compose 'Watch'

The Pitch

Instead of looking at a concantenated dump of service logs when you start a docker compose project, and needing to open separate terminals to run commands like docker compose logs and docker compose exec

Wouldn't it be nicer to see a dashboard with panes for each service's logs, with the ability to configure…

Continue reading — create a free account

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