Este contenido no está disponible en el idioma seleccionado.

fabric:container-connect



Name

fabric:container-connect, container-connect — connects to a remote Fabric Container and execute the specified command

Synopsis

fabric:container-connect [ --help ] [[ -u ] | [ --username ]User] [[ -p ] | [ --password ]Password] { ContainerName } [ Command ]

Description

This command allows you to connect to any container in the current fabric and execute a command. For example, to execute the osgi:list command on the root2 container, you could enter a console command like Example 8.1, “Executing a Command in a Remote Container”.

Example 8.1. Executing a Command in a Remote Container

JBossA-MQ:karaf@root> fabric:container-connect -u YourName -p YourPass root2 osgi:list
This command uses fabric JAAS security to log into the container, so the username and password are managed by the container's JAAS realm.

Arguments

Table 8.7, “fabric:container-connect Arguments” describes the command's arguments.
Table 8.7. fabric:container-connect Arguments
ArgumentInterpretation
--helpDisplays the online help for this command
-u, --usernameSpecifies the username for logging on to the remote container. The default is admin.
-p, --passwordSPecifies the password for logging on to the remote container. The default is admin.
ContainerNameSpecifies the name of the remote container.
CommandSpecifies the console command to execute on the remote container.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.