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

13.3.2.4. Deploying from a Snapshot


The following instructions describe how to deploy an application from a snapshot. Note that an application can be deployed from a binary artifact.

Procedure 13.2. To Deploy From a Snapshot:

  1. Save an application snapshot to build a deployable .tar.gz artifact:
    $ rhc save-snapshot App_Name --deployment
    Copy to Clipboard Toggle word wrap
  2. Configure the application for binary artifact deployments:
    $ rhc configure-app App_Name --deployment-type binary
    Copy to Clipboard Toggle word wrap
    Note that this command changes the application's deployment process and disables the git push command.
  3. Deploy the application using the binary artifact that was created:
    $ rhc deploy ./app.tar.gz -a App_Name
    Copy to Clipboard Toggle word wrap
    Alternatively, use the following command to deploy from a URL:
    $ rhc deploy http://foo.com/path/to/file.tar.gz -a App_Name
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat