Skip to content
This is the documentation for v0.2. Read the latest.

dicer compose restart

Restart the project’s instances

Synopsis

Stops each of the services’ instances if it is running, then starts it. It is how a changed file mount takes effect; a changed definition needs dicer compose up.

dicer compose restart [SERVICE...] [flags]

Options

  -h, --help   help for restart

Options inherited from parent commands

  -D, --debug              Trace every call to the daemon on stderr (or set $DICER_DEBUG)
  -r, --remote string      Daemon to talk to: a remote's name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local)
      --timeout duration   Give up on a call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded)

SEE ALSO

  • dicer compose - Run a project of instances described in a compose file