Software >> OS >> Unix >> Solaris >> 10 >> How to remove/delete a non-global zone

How to Remove a Non-Global Zone

  1. Shut down the zone my-zone using one of the following methods. The zoneadm shutdown method is preferred.
    • Using zoneadm:
      global# zoneadm -z my-zone halt
  2. Remove the root file system for my-zone.
    global# zoneadm -z my-zone uninstall -F

    The -F option to force the action generally isn't required.

  3. Delete the configuration for my-zone.
    global# zonecfg -z my-zone delete -F

    The -F option to force the action generally isn't required.

  4. List the zones on the system, to verify that my-zone is no longer listed.
    global# zoneadm list -iv