Red Hat Training

A Red Hat training course is available for Red Hat Fuse

23.2. Creating a container on a remote host

Overview

To create a container on a remote host, the remote host machine must be ssh-enabled.
Note
Creating a container via ssh on a remote Windows machine is not supported.

Procedure

To create a new container on a remote machine:
  1. If necessary, in Fabric Explorer, expand the tree of the fabric for which you want to create the new remote container.
  2. Right-click Containers to open the context menu, and then select Create a new container via SSH.

    Figure 23.2. Create Container via SSH wizard

    defaults for a new remote container
    Note
    An error icon ( error icon ) marks required fields that lack a valid value, and the dialog banner displays the number of errors detected.
  3. In Container name, enter a name for the new container.
    We recommend that you replace the default name with a meaningful name that identifies the container's role or function.
  4. If multiple versions exist, you can select one from the Version drop-down list. Otherwise, accept the default value.
  5. In Host, enter the name or the IP address of the remote host.
  6. In User name, enter the name of a user authorized to log into the remote host.
  7. In Password, enter the password for User name.
  8. In Path, accept the default (~/containers/), or enter the path of the new container's location on the remote host.
  9. In Port, accept the default port number (22), or enter a new port number to use for establishing an ssh connection on the remote host.
  10. In SSH retries, accept the default (1), or enter the maximum number of retries to attempt at establishing an ssh connection on the remote host.
  11. In Retry delay, accept the default (1), or enter the delay, in milliseconds, between retry attempts.
  12. Under Profiles, click the checkbox next to the profile or profiles you want to assign to the container.
    Profiles determine the function of a container; what applications it runs. You can assign multiple profiles to a container, as long as the applications they install do not conflict with one another.
    Important
    Do not assign a base profile (one ending in -base) to a container.
  13. Click OK.
    The new container appears in Fabric Explorer as a container node under Containers
    Selecting the new container in Fabric Explorers populates its Profiles and Profile Details pages in Properties viewer.

Related topics

Section 24.1, “Creating a new profile”
Section 25.1, “Creating a new version of a profile”