Skip to content

vibepg rm ​

Synopsis ​

bash
vibepg rm <name> [--with-volume] [--force]

Description ​

Remove an instance. Stops and removes the container, deletes the registry entry, and removes the password from the OS keychain. Persistent volumes are preserved by default to prevent accidental data loss.

Arguments ​

NameRequiredDescription
nameyesInstance name

Options ​

FlagShortTypeDefaultDescription
--with-volumeboolfalseAlso remove the Docker volume for persistent instances. Destroys data.
--force-fboolfalseForce container removal even if it's running.

Examples ​

bash
# Safe: container + registry + keychain entry; volume preserved
vibepg rm demo

# Full cleanup, including data
vibepg rm demo --with-volume

# Force-remove a running container without stopping it first
vibepg rm demo --force

Notes ​

  • --with-volume is a no-op for ephemeral instances (there's no volume).
  • rm is the right way to clean up a missing instance reported by vibepg ls.

See also ​

Released under the MIT License.