The High-Velocity Docker Assistant

A lightning-fast, zero-dependency CLI for instantly interacting with ephemeral containers, inspecting logs, killing rogue processes, and safely pruning Docker resources.

curl -fsSL https://raw.githubusercontent.com/joshuacox/roustabout/master/bootstraproustabout.sh | bash
100% Native Bash ShellCheck Verified 100% Backward Compatible Auto-Completion Ready
Advertisement
⚡

Zero-Lookup Workflow

Stop running docker ps just to copy-paste container hashes. Instantly jump into or tail logs from the most recent container with roustabout last.

🛡️

Safe Resource Pruning

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.

🔄

Unified & Backward Compatible

A single multi-call binary handles everything. Classic commands like LastDocker,CleanDocker, and EnterDocker remain 100% operational.

CLI Command Explorer

Discover the streamlined commands that replace verbose Docker commands with concise, safe primitives.

roustabout last [enter | logs | id]Alias: LastDocker

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

Advertisement

Legacy Script Aliases

100% backward compatibility is guaranteed. The original standalone scripts continue to work seamlessly.

Legacy CommandModern EquivalentDescription
LastDockerroustabout lastEnters the last spawned container
LogDockerLastroustabout logsStreams logs from the last spawned container
EnterDocker <id>roustabout enter <id>Enters container (bash with sh fallback)
KillDockerroustabout kill --allSafely terminates all running containers
KRMdocker <id>roustabout krm <id>Kills and removes specified container
CleanDockerroustabout cleanPrunes stopped containers and dangling images
CleanOrphanedVolumesroustabout clean-volumesPrunes dangling volumes
StaleDockerroustabout stalePrunes images older than 24 hours
createOpenVPNdockercredsroustabout openvpn-credsGenerates client .ovpn profiles

Installation & Setup Guide

1. One-Line Automated Bootstrap

Downloads the latest release into an isolated temporary directory, runs the build and install suite, and cleans up automatically:

curl -fsSL https://raw.githubusercontent.com/joshuacox/roustabout/master/bootstraproustabout.sh | bash

2. Manual Installation via Make

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:

make install PREFIX=$HOME/.local

3. Shell Autocompletion

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.

source completions/roustabout.bash
Advertisement