Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019

How to Delete a Zone Configuration

Use zonecfg with the delete subcommand to delete a zone configuration from the system.

  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. Delete the zone configuration for the zone a-zone by using one of the following two methods:
    • Use the –F option to force the action:

      global$ zonecfg -z a-zone delete -F
    • Delete the zone interactively by answering yes to the system prompt:

      global$ zonecfg -z a-zone delete
      Are you sure you want to delete zone a-zone (y/[n])? y