31.7. 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
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 31.7. 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 tooling displays 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
    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

Section 31.6, “Stopping a container”
Section 31.1, “Creating a new child container”
Section 31.2, “Creating a container on a remote host”
Section 31.3, “Creating a new container on a cloud”
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.