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

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.

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.

© 2024 Red Hat, Inc.