此内容没有您所选择的语言版本。

32.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 32.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 33.1, “Creating a new profile”
Section 34.1, “Creating a new version of a profile”
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.