Deleting a Non-Global Zone From the System
The procedure described in this section completely deletes a zone from a system.
How to Remove a Non-Global Zone
- Shut down the zone my-zone.
global# zlogin my-zone shutdown
- Remove the root file system for my-zone.
global# zoneadm -z my-zone uninstall -F
- Delete the configuration for my-zone.
global# zonecfg -z my-zone delete -F
- List the zones on the system, to verify that my-zone is no longer
global# zoneadm list -iv
You will see a display that is similar to the following:
ID NAME STATUS PATH BRAND IP
0 global running / native shared