Bunker CLI
Coming Soon
The nuage CLI is currently under development. This page presents the planned features.
The nuage command line interface allows you to manage your resources from the terminal.
Installation
macOS
brew install bunker/tap/nuage
Linux
curl -sSL https://get.getbunker.net | sh
Windows
winget install Bunker.CLI
Configuration
Authentication
nuage auth login
Or with an API key:
nuage auth login --api-key "your-key"
Configure Default Project
nuage config set project my-project
Commands
Projects
# List projects
nuage projects list
# Create a project
nuage projects create my-project --region eu-paris-1
# Delete a project
nuage projects delete my-project
Containers
# List containers
nuage containers list
# Deploy
nuage deploy --image my-app:latest
# View logs
nuage logs container-id --follow
# Scale
nuage scale container-id --replicas 3
# Restart
nuage restart container-id
Domains
# List domains
nuage domains list
# Add a domain
nuage domains add app.example.com --target container-id
# Delete a domain
nuage domains delete app.example.com
Backups
# List backups
nuage backups list
# Create a backup
nuage backups create --name "before-update"
# Restore
nuage backups restore backup-id
Monitoring
# Status
nuage status
# Metrics
nuage metrics container-id --period 1h
# Alerts
nuage alerts list
Global Options
| Option | Description |
|---|---|
--project | Project to use |
--region | Target region |
--output | Output format (json, table, yaml) |
--verbose | Verbose mode |
--help | Help |
Examples
Complete Deployment
# Log in
nuage auth login
# Create a project
nuage projects create my-app --region eu-paris-1
# Deploy the application
nuage deploy --image my-app:v1.0.0 --port 3000
# Add a domain
nuage domains add app.example.com
# Check status
nuage status
CI/CD
# .gitlab-ci.yml
deploy:
script:
- nuage auth login --api-key $NUAGE_API_KEY
- nuage deploy --image $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
Update
nuage update
Uninstall
nuage uninstall