Skip to content

shell

Open an interactive shell in a running container

Open an interactive shell session in a running service container.

Uses the linked context or an explicit ws/proj/env/svc path. Unlike ssh, this command uses the platform exec API directly and does not require SSH keys.

ancla shell [ws/proj/env/svc] [flags]
ancla shell
ancla shell my-ws/my-proj/staging/my-svc
ancla shell -p worker
ancla shell -c /bin/bash
-c, --command string Command to execute in the container (default "/bin/sh")
-h, --help help for shell
-p, --process string Process type to connect to (default "web")
--api-key string API key for authentication
--config string config file (default: ~/.ancla/config.yaml)
--json Shorthand for --output json
-o, --output string Output format: table or json (default "table")
-q, --quiet Suppress non-essential output
  • ancla - Ancla CLI — manage your Ancla PaaS deployments