docker - gcloud ai平台Hypertune将环境变量传递给自定义容器

标签 docker gcloud

我正在使用将模型构建到图像的gcloud AI平台运行超调。
我需要hypertnuning作业,以使用模型训练来加载自定义容器并将环境变量传递给它。
在 docker 中,我可以使用-e。找不到办法

gcloud ai-platform jobs submit training

将环境变量传递到自定义容器。

请帮忙。谢谢

最佳答案

您可以在文档中找到Hyperparameter Tuning with Containers的操作方法。它也包括an example!

关于docker - gcloud ai平台Hypertune将环境变量传递给自定义容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61017019/

相关文章:

linux - Docker - 如何编写自定义负载均衡器?

node.js - 为 node.js 应用程序构建 docker 镜像在代理之后失败

node.js - 无法选择区域和/或区域。部署 NodeJS 托管虚拟机应用程序时

google-cloud-platform - 无法在 Google Cloud Platform 中将我的 E2 实例编辑为 N1 实例

python - Google Cloud Platform 配额监控(警报)

docker - 使用 CMD 和 PowerShell 静默安装 exe 文件

azure - 运行 Docker 的 Azure 虚拟机上的 `mount: permission denied`

python - 如何使用 DATABASE_URL 将 Docker 容器连接到在本地主机上运行的 PostgreSQL?

node.js - Google Cloud 上的环境变量?

node.js - 将 gcloud createReadStream 加载到 nodejs 中的变量中