Skip to content

Command line

Run virtual machines from container images

Synopsis

Dicer runs virtual machines from container images on a single host.

Examples

  dicer run --name web -p 8080:80 nginx:1.27
  dicer ps
  dicer exec web -- nginx -t
  dicer logs -f web
  dicer rm -f web

Options

  -D, --debug              Trace every call to the daemon on stderr (or set $DICER_DEBUG)
  -h, --help               help for dicer
  -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