Red Hat Training

A Red Hat training course is available for Red Hat Fuse

9.22. fabric:container-start


Start the specified container


fabric:container-start [ --help ] [ --user user ] [ --password password ] [ -f, --force ] { GlobList }


Table 9.22, “fabric:container-start Arguments” describes the command's arguments.

Table 9.22. fabric:container-start Arguments

--help Displays the online help for this command.
--user Specifies the username of the user performing this action.
--password Specifies the password of the user performing this action.
-f, --force Forces execution of the command, regardless of the known state of the container.
GlobList(Required) Specifies the list of containers to start, separated by spaces. Globbing is supported as follows: ?, matches zero or one characters; *, matches zero or more characters.

Using alternative credentials

Each time a container is created Fabric stores the credentials used to create the container and will reuse them for all life cycle operations (start, stop, delete). If the credentials have changed, the updated credentials need to be specified as options. Each container type (child, ssh, jclouds) uses different kind of credentials, as follows:
  • Child containers: Use the JMX credentials of the parent container.
  • SSH containers: Use the SSH credentials of the target host.
  • JClouds containers: Use the ssh credentials of the instance.
For example:
fabric:container-start --user NewJmxUserOfParent --password NewJmxPasswordOfParent child1
fabric:container-start --password NewSshPasswordOfTargetHost ssh1
fabric:container-start --password NewSshPasswordOfTargetHost cloud1