Skip to main content

corgi restart

corgi restart

Stop then start detached services (corgi stop + corgi run --detach)

Synopsis

Stops the currently detached stack (or a single --service) and brings it back up detached. Convenience for long-lived envs.

Non-interactive safe. With --json the stdout is a single startup-summary JSON object (the same shape as corgi run --detach --json).

corgi restart [flags]

Options

--detach Start services detached (always on for restart) (default true)
--force Ignore stale run-state and start anyway (default true)
-h, --help help for restart
--host string IP to use instead of localhost in service URL env vars. Pass an explicit IP or "auto"/"ip" to detect the first non-loopback IPv4.
--service string Restart only this service (leave others running)

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
--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
Auto generated by spf13/cobra on 8-Jun-2026