Skip to content
These docs are for the next devvm, which isn’t released yet. The docs for the current release are at devvm.dev.

devvm layer

Make image layers of your own, or change this folder’s VM’s layers

Synopsis

Make image layers of your own, which are scripts in ~/.config/devvm/layers that an image runs on top of base, or add layers to this folder’s VM and take them out. An image names them as it names devvm’s built-in layers, bottom first, such as docker+NAME, and a new VM gets them with –layers.

devvm layer [flags]

Examples

  devvm layer new mailpit  # start a layer named mailpit
  devvm layer add docker   # make this folder's VM again with the docker layer added
  devvm layer rm docker    # make this folder's VM again without it

Options

  -h, --help   help for layer

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 layer explains it in full.

See also

  • devvm: Open a shell in this folder’s VM, creating it first
  • devvm layer add: Make this folder’s VM again with more layers, then open a shell in it
  • devvm layer new: Start a layer of your own
  • devvm layer rm: Make this folder’s VM again without some of its layers, then open a shell in it
Last updated on