Solaris 10: Uninstall and Delete a Zone

Last Updated on

When you want to remove a non-global zone from your Solaris 10 installation, you will need to use the following steps.

If you want to completely remove a zone called ‘testzone’ from your system, log in to the global zone and become root. The first command is the opposite of the ‘install’ option of zoneadm and deletes all of the files under the zonepath:

zoneadm -z testzone uninstall

At this point, the zone is in the configured state. To remove it completely from the system, use the following:

zonecfg -z testzone delete

There is no undo, so make sure this is what you want to do before you do it.


About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply