此内容没有您所选择的语言版本。
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.
Argument | Interpretation |
---|---|
containerName | Specifies the name of container to remove from the fabric. |
--help | Displays the online help for this command. |
--f | Forces the execution of the command regardless of the known state of the container. |