如何从Swisscom App Cloud使用CLI下载该应用程序? [英] How to download the app with the CLI from the Swisscom App Cloud?

查看:77
本文介绍了如何从Swisscom App Cloud使用CLI下载该应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试下载目前在Swisscom App Cloud中运行的应用程序.

I am trying to download my app wich is currently running in the Swisscom App Cloud.

因此,我安装了 cf-download 插件.

我的命令:cf download app-name /public --verbose --omit /vendors --overwrite

运行此命令后,出现以下错误:

After running this command I get the following error:

该应用程序在不支持该命令的Diego后端上运行.

The app is running on the Diego backend, which does not support this command.

因此,在Swisscom App Cloud中无法使用cf download吗?

Is cf download thus not possible in the Swisscom App Cloud?

我也尝试过cf files.同样的错误.

I've tried cf files as well. Same error.

推荐答案

您可以使用

应用 API为App GET下载分段的Droplet /v2/apps/:guid/droplet/download使用远程Blob存储区时,例如 AWS,响应是重定向到小滴的实际位置.

Apps API Downloads the staged droplet for an App GET /v2/apps/:guid/droplet/download When using a remote blobstore, such as AWS, the response is a redirect to the actual location of the droplet.

逐步:

cf app $APP --guid
cf curl /v2/apps/$GUID/droplet/download > testing.gz
tar -xzvf testing.gz

我已经在Swisscom App Cloud上成功进行了测试.

I successfully tested it on Swisscom App Cloud.

这篇关于如何从Swisscom App Cloud使用CLI下载该应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆