Skip to content

monoceros remove-feature

Removes a devcontainer feature from a workbench’s config. The feature is dropped from the container on the next monoceros apply. The inverse of monoceros add-feature.

Terminal window
monoceros remove-feature <name> <feature> [--yes]

<feature> is the same ref you added: a catalog short name (claude) or a full OCI ref. If you are unsure how it was written, check the yml or run monoceros list-components.

Terminal window
monoceros remove-feature acme claude
monoceros remove-feature acme ghcr.io/devcontainers/features/docker-in-docker:2
  • Idempotent. Removing a feature that is not in the config is a no-op.
  • No confirmation prompt. The edit is written straight to the yml as soon as you run the command.
  • Edits the yml only. Run monoceros apply to rebuild the container without the feature.