A lightning-fast, zero-dependency CLI for instantly interacting with ephemeral containers, inspecting logs, killing rogue processes, and safely pruning Docker resources.
Stop running docker ps just to copy-paste container hashes. Instantly jump into or tail logs from the most recent container with roustabout last.
Native Docker commands error out when argument lists are empty. Roustabout guards against empty state failures and safely cleans orphaned volumes, containers, and 24h-stale images.
A single multi-call binary handles everything. Classic commands like LastDocker,CleanDocker, and EnterDocker remain 100% operational.
Discover the streamlined commands that replace verbose Docker commands with concise, safe primitives.
Directly targets the most recently spawned Docker container via docker ps -ql. Eliminates the need to copy-paste container hashes.
# Shell into the last container (tries /bin/bash, falls back to /bin/sh):
$ roustabout last
# Stream logs from the last container:
$ roustabout last logs
# Print the ID of the last container:
$ roustabout last id
100% backward compatibility is guaranteed. The original standalone scripts continue to work seamlessly.
| Legacy Command | Modern Equivalent | Description |
|---|---|---|
| LastDocker | roustabout last | Enters the last spawned container |
| LogDockerLast | roustabout logs | Streams logs from the last spawned container |
| EnterDocker <id> | roustabout enter <id> | Enters container (bash with sh fallback) |
| KillDocker | roustabout kill --all | Safely terminates all running containers |
| KRMdocker <id> | roustabout krm <id> | Kills and removes specified container |
| CleanDocker | roustabout clean | Prunes stopped containers and dangling images |
| CleanOrphanedVolumes | roustabout clean-volumes | Prunes dangling volumes |
| StaleDocker | roustabout stale | Prunes images older than 24 hours |
| createOpenVPNdockercreds | roustabout openvpn-creds | Generates client .ovpn profiles |
Downloads the latest release into an isolated temporary directory, runs the build and install suite, and cleans up automatically:
Clone the repository and install system-wide to /usr/local/bin:
git clone https://github.com/joshuacox/roustabout.git
cd roustabout
sudo make install
Or install to your local user directory without needing sudo:
Roustabout includes a built-in Bash completion script providing tab completion for subcommands, flags, and active container IDs. When installed via make install, it is automatically placed in your system bash-completion directory.