Este contenido no está disponible en el idioma seleccionado.

fabric:container-create



Name

fabric:container-create, container-create — creates one or more Fabric Containers

Synopsis

fabric:container-create [ --help ] {[ --parent ParentID ] | [ --url URL ]} [ --proxy-uri ProxyURI ] [ --ensemble-server ] [ --profile ProfileID ] [ --resolver policy ] [ --version Version ] [ --jvm-opts JvmOpts ] { Name } [ Number ]

Examples

This command is a generic container create command. It combines the functionality of the fabric:container-create-child, fabric:container-create-cloud, and fabric:container-create-ssh commands. The type of container that is created, depends on the specified URL.
Child container
To create a child container, specify a URL in the following format:
child://ParentName
Where ParentName is the name of the child's parent container.
Cloud container
To create a cloud container, specify a URL in the following format:
jclouds://ProviderId?imageId=ImageID&locationId=LocationID&group=Group&user=User
For a detailed explanation of the options appearing in this URL, see fabric:container-create-cloud.
SSH container
To create an SSH container with username and password credentials, specify a URL in the following format:
ssh://User:Password@Host:Port
Where User and Password are the credentials for logging in to the machine at Host:Port, through the SSH protocol.
To create an SSH container with username and private key credentials, specify a URL in the following format:
ssh://User@Host:Port?privateKeyFile=KeyPath
Where KeyPath is the pathname of the private key file on the local filesystem.

Arguments

Table 8.8, “fabric:container-create Arguments” describes the command's arguments.
Table 8.8. fabric:container-create Arguments
ArgumentInterpretation
--helpDisplays the online help for this command
--parentSpecifies the parent container's ID.
--urlSpecifies the URL of the new container.
--proxy-uriSpecifies the Maven proxy URI to use.
--ensemble-serverSpecifies if the new container should be a Fabric Server.
--profileSpecifies a list of profiles to deploy into the new container.
--resolverSpecifies how the container will report its address to other containers. Valid values are localip, localhostname, publicip, publichostname, manualip. For more information see fabric:container-resolver-set.
--versionSpecifies the version of the profiles used by the new container. Defaults to the current default version.
--jvm-optsSpecifies options to pass to the container's JVM.
NameSpecifies the name of the new container. When creating multiple containers, the name serves as a prefix.
NumberSpecifies the number of containers that should be created.
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.