Docker Usage¶
Run redisctl without installing anything.
Quick Start¶
Passing Credentials¶
Environment Variables¶
docker run --rm \
-e REDIS_CLOUD_API_KEY \
-e REDIS_CLOUD_SECRET_KEY \
ghcr.io/redis-developer/redisctl cloud subscription list
Mount Config File¶
If you have a local configuration:
docker run --rm \
-v ~/.config/redisctl:/root/.config/redisctl:ro \
ghcr.io/redis-developer/redisctl --profile prod cloud subscription list
Convenient Aliases¶
Add to your shell profile (~/.bashrc, ~/.zshrc, etc.):
Saving Output to Files¶
Mount a volume to save command output:
docker run --rm \
-e REDIS_ENTERPRISE_URL \
-e REDIS_ENTERPRISE_USER \
-e REDIS_ENTERPRISE_PASSWORD \
-v $(pwd)/output:/output \
ghcr.io/redis-developer/redisctl \
enterprise support-package cluster --output-dir /output
Image Tags¶
| Tag | Description |
|---|---|
latest |
Most recent release |
0.7.3 |
Specific version |
0.7 |
Latest patch in minor version |