It's too easy to accidentally delete a container rather than a snapshot
Bug #1828255 reported by
Rod Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The command to delete a container is:
lxc delete {container}
Unfortunately, if the "/" is omitted, this command deletes {container} without any sort of prompting. It would be very helpful to add a prompt/verification when deleting the entire container to avoid mishaps. Don't ask me how I know that they happen.
To post a comment you must log in.
There is configurable prompting for those that want it. We also refuse to delete running containers.