mirror of
https://github.com/devvmhq/docs-next.git
synced 2026-12-01 06:23:22 -10:00
1.2 KiB
1.2 KiB
devvm rebuild
Build an image again, and delete the old one
Synopsis
Build an image again from its parent as it is, then delete the stale images no VM uses, the old one and those built on it among them. When images are built on it, devvm asks first in a terminal without --no-input.
devvm rebuild IMAGE [flags]
Examples
devvm rebuild foo # build foo again with the newest packages
devvm rebuild base --force # rebuild base without asking, as a script must
Options
-f, --force don't ask to confirm, which devvm needs without a terminal or with --no-input
--from IMAGE the container IMAGE base starts from, such as node:24, instead of Ubuntu's cloud image (default: $DEVVM_FROM)
-h, --help help for rebuild
Options inherited from parent commands
--no-input never ask, and fail where devvm would ask, naming the flag that answers it
-v, --verbose show the output of the commands devvm runs instead of a status line
Docs
The docs page for devvm rebuild explains it in full.
See also
- devvm: Open a shell in this folder's VM, creating it first