vers rootfs
Commands to list and delete rootfs images on the Vers platform.Usage
Commands
vers rootfs list
List all available rootfs images on the Vers platform.
vers rootfs delete
Delete a specific rootfs image from the Vers platform.
| Option | Description |
|---|---|
--force, -f | Force deletion without confirmation |
Examples
List available images
Delete with confirmation
Delete without confirmation
Check before deleting
How it works
List command
- Fetches images: Makes API call to get available rootfs images
- Displays results: Shows image names in a simple list format
- Handles empty: Shows “No rootfs images found” if none exist
Delete command
- Confirmation: Prompts for confirmation unless
--forceis used - API deletion: Makes delete request for the specified image
- Progress display: Shows deletion progress
- Success confirmation: Confirms successful deletion
Error handling
Image not found
User cancellation
API failures
Use cases
Storage cleanup
Batch deletion
Before project cleanup
Prerequisites
- Authentication with Vers platform
- Network connectivity to access the API
- Appropriate permissions to delete rootfs images
See Also
- vers build - Create new rootfs images
- vers up - Use rootfs images in VMs