9.8. fabric:container-connect, container-connect
Abstract
Synopsis
fabric:container-connect [
--help
] [[
-u
] | [
--username
]User] [[
-p
] | [
--password
]Password] {
ContainerName
} [
Command
]
Description
root2 container, you could enter a console command like Example 9.1, “Executing a Command in a Remote Container”.
Example 9.1. Executing a Command in a Remote Container
JBossA-MQ:karaf@root>fabric:container-connect -u YourName -p YourPass root2 osgi:list
Arguments
Table 9.8. fabric:container-connect Arguments
| Argument | Interpretation |
|---|---|
--help | Displays the online help for this command |
-u, --username | Specifies the username for logging on to the remote container. The default is admin. |
-p, --password | SPecifies the password for logging on to the remote container. The default is admin. |
ContainerName | Specifies the name of the remote container. |
Command | Specifies the console command to execute on the remote container. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.