7.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
Copy to Clipboard Toggle word wrap
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.
Copy to Clipboard Toggle word wrap
If you specify the container using the leave command, the specified container leaves the fabric.
fabric:leave containerName
Copy to Clipboard Toggle word wrap

Arguments

Table 7.34, “fabric:leave Arguments” describes the command's arguments.
Expand
Table 7.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.
Back to top
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. Explore our recent updates.

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.

Theme

© 2025 Red Hat