corgi leases
corgi leases
Named isolation leases: who holds which port block
Synopsis
--isolate <name> gives a run its own port block, its own database names and its
own container names, so two agents can drive the same workspace at once.
This lists the leases that exist and what each one shifted. Every command that reads the compose file takes --isolate, so ps, status, logs and stop see the same shifted view as the run that created it.
corgi leases [flags]
Examples
corgi run --isolate agent-a --detach
corgi ps --isolate agent-a
corgi leases
corgi leases release agent-a
Options
-h, --help help for leases
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--isolate string Run this workspace under a named lease: own port block, own database names, own containers
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi - Corgi cli magic friend
- corgi leases release - Forget a lease so its port block is free again