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.
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.
Examples
Section titled “Examples”monoceros remove-feature acme claudemonoceros remove-feature acme ghcr.io/devcontainers/features/docker-in-docker:2Behavior
Section titled “Behavior”- 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 applyto rebuild the container without the feature.
See also
Section titled “See also”monoceros add-feature- the inverse.- Feature catalog - what each feature does.