System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

ProcedureHow to Remove a Non-Global Zone

  1. Shut down the zone my-zone.

    global# zlogin my-zone shutdown -y -g0 -i0
  2. Remove the root file system for my-zone.

    global# zoneadm -z my-zone uninstall -F
  3. Delete the configuration for my-zone.

    global# zonecfg -z my-zone delete -F
  4. List the zones on the system, to verify that my-zone is no longer listed.

    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