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

Deleting an lx Branded Zone From the System

The procedure described in this section completely deletes a zone from a system.

ProcedureHow to Remove an lx Branded Zone

  1. Shut down the zone lx-zone.

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

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

    global# zonecfg -z lx-zone delete -F
  4. List the zones on the system, to verify that lx-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