Overview
Connect to an application container and execute commands in running service instances, or open an interactive shell session.
Usage
Commands
Interactive Shell (interactive mode)
When run without flags, qovery shell prompts you to select your organization, project, environment, and service interactively:
Shell with explicit flags
Shell into specific pod or container
Execute Command
Run a specific command instead of opening an interactive shell:
The --command flag is a comma-separated string slice and can be repeated to pass multiple arguments.
Shell via Console URL
Pass the Qovery Console URL directly:
Options
Examples
Debug Application
Run Database Migrations
Check Application Files
Debug Specific Container
Tips
Use interactive shell (run qovery shell without flags) for exploratory debugging when you don’t know the exact service name.
You can pass the Qovery Console URL as an argument to qovery shell to quickly connect to a service.
Be careful when executing commands in production environments. Changes are not persistent across pod restarts.