Deleting a container

Overview

When a container becomes obsolete—no longer used in the fabric integration project—you may want to delete it. Before you do so, make sure no other container in the project depends on it. Deleting a container terminates the container and its processes and removes its configuration from the fabric.

[Note]Note

To delete a container, it must be running in the fabric.

Procedure

To delete a container:

  1. If necessary, in Fabric Explorer, expand the tree of the fabric whose container you want to delete.

  2. Click Containers to populate Properties view with a list of the fabric's containers.

  3. In Properties view, select the container you want to delete, and then click delete button on the right-hand side of the toolbar.

    Figure 21. Container selected for deletion in Properties view

    selecting container for deletion

  4. In the Destroy Container(s) dialog, click OK to delete the selected container.

    The developer tools display a message that removal is in progress. In Properties view, the container's status briefly changes to stopped, and then the container disappears from the list.

  5. In Fabric Explorer, open the fabric's context menu, and click Refresh to update Containers and remove the deleted container from the tree.

    [Note]Note

    If you have the Red Hat JBoss Fuse console open in Shell view, you can verify that the container and its configuration have been removed from the fabric by entering at the command line fabric:container-list.

Related topics

Stopping a container
Creating a new child container
Creating a container on a remote host
Creating a new container on a cloud