Quick Start Guide
Get up and running with WhaleTUI in minutes! This guide will walk you through the essential steps to start managing your Docker containers with WhaleTUI.
Prerequisites
Before you begin, ensure you have:
- ✅ WhaleTUI installed (see Installation Guide)
- ✅ Docker running on your system
- ✅ At least one Docker container or image available
Launch WhaleTUI
Start WhaleTUI by running the following command in your terminal:
whaletui
You should see the WhaleTUI interface appear with a clean, organized layout.
First Steps
1. Navigate the Interface
WhaleTUI uses command mode for switching between different Docker resources:
- Press
:
to enter command mode - Type one of the following commands:
containers
- View and manage running and stopped containersimages
- Browse available Docker imagesvolumes
- Handle Docker volumesnetworks
- Manage Docker networksswarm
- Access Docker Swarm servicesservices
- Access Docker Swarm services (alternative)nodes
- View Docker Swarm nodes
- Press
Enter
to execute the command
Use ↑/↓
arrows to navigate within each view and Enter
to select items.
2. Search and Filter Items
WhaleTUI includes powerful search functionality to quickly find specific items:
- Press
/
to enter search mode - Type your search term to filter items in real-time
- Press
Enter
to keep the search active and hide the search input - Press
/
again to restore your previous search - Press
ESC
to clear the search and return to full view
The search works across all visible columns and supports partial matches.
3. View Your Containers
Start by pressing :
then typing containers
to view the Containers view and see what's currently running on your system.
If you don't have any containers running, you can start one:
# In another terminal, start a simple container
docker run -d --name nginx-test nginx:alpine
4. Basic Container Operations
With a container running, you can:
- Start/Stop: Press
s
to start orS
to stop containers - Restart: Press
r
to restart a container - Delete: Press
d
to delete a container - View Logs: Press
l
to see real-time logs - Inspect: Press
i
to view detailed container information
Essential Keyboard Shortcuts
Navigation
Command | Action |
---|---|
:containers | Switch to Containers view |
:images | Switch to Images view |
:volumes | Switch to Volumes view |
:networks | Switch to Networks view |
:swarm | Switch to Swarm Services view |
:services | Switch to Swarm Services view (alternative) |
:nodes | Switch to Swarm Nodes view |
↑/↓ | Navigate items |
Enter | Select item or view details |
ESC | Close modal or go back |
/ | Filter/Search - Search and filter items in current view |
Global Actions
Key | Action |
---|---|
F5 | Refresh current view |
? | Show help |
Ctrl+C or q | Quit application |
Container Actions
Key | Action |
---|---|
s | Start container |
S | Stop container |
r | Restart container |
d | Delete container |
l | View logs |
i | Inspect container |
Common Operations
Starting a Container
- Press
:
then typeimages
to navigate to the Images view - Select an image (e.g.,
nginx:alpine
) using arrow keys - Press
Enter
to view image details - Use available actions to run the container
Stopping a Container
- Press
:
then typecontainers
to go to the Containers view - Select a running container using arrow keys
- Press
S
to stop the container - Confirm the action if prompted
Viewing Container Logs
- Select a container in the Containers view
- Press
l
to open the logs view - Use
↑/↓
to scroll through logs - Press
ESC
to return to the main view
Inspecting Containers
- Select a container in the Containers view
- Press
i
to inspect the container - View detailed information in JSON format
- Press
ESC
to return to the main view
Configuration
Basic Settings
WhaleTUI can be configured through a configuration file. Create ~/.whaletui/config.json
:
{
"refresh_interval": 5,
"log_level": "INFO",
"log_file_path": "./logs/whaletui.log",
"docker_host": "unix:///var/run/docker.sock",
"theme": "default",
"remote_host": "",
"remote_user": "",
"remote_port": 2375
}
Themes
WhaleTUI supports multiple themes:
- Default: Default theme loaded when none provided
- Dark: Dark theme provided in repository
- Custom: Define your own color scheme using YAML or JSON
Change themes in the configuration file by setting the theme
field to your desired theme name.
Column Configuration
WhaleTUI provides extensive column customization options:
- Responsive Widths: Set column widths as percentages of terminal width
- Alignment Control: Right-align numerical data, left-align text
- Visibility Toggle: Show/hide specific columns per view
- Custom Headers: Set custom display names for columns
Learn more about Column Configuration and see Configuration Examples for practical setups.
Next Steps
Now that you're comfortable with the basics:
- Explore Concepts: Dive deeper into Docker concepts
- Customize Your Setup: Learn about Configuration Options
- Connect to Remote Hosts: Set up SSH connections for remote Docker management
- Advanced Operations: Master Swarm management
Troubleshooting
If you encounter issues:
- Check Docker Status: Ensure Docker is running (
docker info
) - Verify Permissions: Make sure you have access to Docker daemon
- Review Logs: Check WhaleTUI logs for error messages
- Update WhaleTUI: Ensure you're running the latest version
Additional Resources
- Documentation: Explore all available guides and concepts
- GitHub: Visit our GitHub repository
- Issues: Report bugs and request features on GitHub