简体   繁体   English

如何从 IBM Cloud/Bluemix 上的 Cloud Foundry 下载/拉取已部署的应用程序和服务?

[英]How I can download/pull deployed apps and services from Cloud Foundry on IBM Cloud/Bluemix?

The app (Node.js) is deployed on Cloud Foundry (IBM Cloud, US-South) by my previous colleague, but the codes in our private Github (seperate from IBM DevOps) for local testing doesn't look the same as what he has deployed on Cloud Foundry.该应用程序 (Node.js) 由我以前的同事部署在 Cloud Foundry(IBM Cloud,美国南部)上,但我们私有 Github(与 IBM DevOps 分开)中用于本地测试的代码看起来与他的不同已部署在 Cloud Foundry 上。 I have tried the following methods to download it from the cloud, but none of them work:我尝试了以下方法从云端下载它,但都不起作用:

  1. Bluemix file viewer - I can't find it in the new IBM Cloud interface. Bluemix 文件查看器 - 我在新的 IBM Cloud 界面中找不到它。 How can I use DevOps services to achieve it?如何使用 DevOps 服务来实现它? Ref 参考

  2. bx cf download - it doesn't work because the app is running on Diego backend. bx cf 下载 - 它不起作用,因为该应用程序在 Diego 后端运行。 Ref 参考

  3. bx cf file - it doesn't work because the app is running on Diego backend. bx cf 文件 - 它不起作用,因为该应用程序在 Diego 后端运行。 Ref 参考

  4. bx cf curl - I got the following error message. bx cf curl - 我收到以下错误消息。 After I closed the firewall, the error message is still the same.我关闭防火墙后,错误信息还是一样。 I can't find a way to solve this problem.我找不到解决这个问题的方法。 Ref 参考

Invoking 'cf curl /v2/apps/7fe6cdb8-521f-4716-954d-d9598502d049/droplet/download'...调用'cf curl /v2/apps/7fe6cdb8-521f-4716-954d-d9598502d049/droplet/download'...

FAILED失败

Error creating request:创建请求时出错:

Error performing request: Get https://dal05.objectstorage.service.networklayer.com:443/v1/AUTH_9832c938-360c-442a-9713-a5ad3a5d5368/cc-droplets/20/ef/20efe5fb%!D(MISSING)0fa9%!D(MISSING)4ceb%!D(MISSING)8098%!D(MISSING)ec710c8ad0db/fb2ea5e85ec02b65e1d987a7223b92c414df5851?temp_url_sig=8e2b2f7ce7a420d323a0ed5f002669a095af5b12&temp_url_expires=1517896403 : dial tcp 10.1.129.3:443: getsockopt: connection refused执行请求时出错:获取https://dal05.objectstorage.service.networklayer.com:443/v1/AUTH_9832c938-360c-442a-9713-a5ad3a5d5368/cc-droplets/20/ef/20efe5fb%!D(MISSING)0fa9 !d(丢失)4ceb%d(缺失)8098%d(丢失)ec710c8ad0db / fb2ea5e85ec02b65e1d987a7223b92c414df5851 temp_url_sig = 8e2b2f7ce7a420d323a0ed5f002669a095af5b12&temp_url_expires = 1517896403!? :拨打TCP 10.1.129.3:443:用getsockopt:连接被拒绝

TIP: If you are behind a firewall and require an HTTP proxy, verify the https_proxy environment variable is correctly set.提示:如果您在防火墙后面并且需要 HTTP 代理,请验证 https_proxy 环境变量设置是否正确。 Else, check your network connection.否则,请检查您的网络连接。

  1. Cloud Object Storage - I don't have permission.云对象存储 - 我没有权限。 Ref 参考

  2. SSH without CLI - It doesn't make sense to ask my password because I use a federated user ID without a password.没有 CLI 的 SSH - 询问我的密码没有意义,因为我使用没有密码的联合用户 ID。 Ref 参考

You should be able to make 'bx cf ssh ' to the runtime.您应该能够将 'bx cf ssh ' 设置为运行时。 Then you should be able to make tar package of what you see necessary.然后你应该能够制作你认为必要的 tar 包。 Then just have a place to upload that to.然后有一个地方可以上传它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IBM Bluemix Cloud:用于Node.js的IBM SDK-Bluemix中的应用程序能否保留现有版本而无需自动更新? - IBM Bluemix Cloud: IBM SDK for Node.js - Can our apps in Bluemix keep the existing version without auto-updates? 无法从 Cloud Foundry CLI 登录到 Bluemix Dedicated - Unable to log-in from Cloud Foundry CLI to Bluemix Dedicated 在Cloud Foundry中绑定服务无法正常工作 - bind services in cloud foundry not working LogDNA 和云代工 nodejs 应用程序 - LogDNA and cloud foundry nodejs apps 部署到 Cloud Foundry 的应用程序无法启动 - App deployed to Cloud Foundry fails to start IBM Cloud:使用 API 与 CLI 从应用程序访问 Cloud Foundry? - IBM Cloud: Access Cloud Foundry from app using API vs CLI? IBM Cloud:让Cloud Foundry不轮询应用程序实例(运行状况检查) - IBM Cloud: Have Cloud Foundry not poll for instance of application (health check) 从DevOps Services部署Meteor应用程序时,如何在IBM Bluemix上安装必需的软件包? - How do I install a required package on IBM Bluemix when deploying a Meteor application from DevOps Services? VueJS 应用程序中的 Cloud Foundry VCAP_SERVICES - Cloud foundry VCAP_SERVICES in VueJS Appliction 如何检查Openwhisk(IBM Cloud Functions)是否被调用? - How can I check that Openwhisk (IBM Cloud Functions) gets invoked?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM