Red Hat Training

A Red Hat training course is available for Red Hat Fuse

9.34. fabric:leave

Abstract

disconnects a container from a fabric

Synopsis

fabric:leave [ options ] [ containerName ]

Description

This command disconnects a container from a fabric and cleans related data.
Note
This command is only available from R13 and later.
If you use the leave command without any options, it attempts to disconnect the current container from the fabric.
fabric:leave
Container joined will be disconnected from Fabric. This operation is not reversible.
    Do you want to proceed? (yes/no): yes
    Container joined will leave Fabric and restart - cleanup will be done asynchronously.
If you specify the container using the leave command, the specified container leaves the fabric.
fabric:leave containerName

Arguments

Table 9.34, “fabric:leave Arguments” describes the command's arguments.

Table 9.34. fabric:leave Arguments

ArgumentInterpretation
containerNameSpecifies the name of container to remove from the fabric.
--helpDisplays the online help for this command.
--fForces the execution of the command regardless of the known state of the container.