详情页标题前

阿里云Serverless中fc 3.0 devs工具好像还有个问题?-云小二-阿里云

详情页1

阿里云Serverless中fc 3.0 devs工具好像还有个问题?InvalidArgument: code: 400, Either Code or CustomContainerConfig must be set, but not both request id 。但是配置里面把code去掉又报错:Code config is empty

以下为热心网友提供的参考意见

这个问题可能是由于在配置CodeCustomContainerConfig时,两者不能同时设置。你需要检查你的配置文件,确保只设置其中一个参数。

如果你使用的是YAML格式的配置文件,可以尝试以下修改:

custom:
  container:
    image: your_image_name
    cmd: ["your_command"]
    args: ["your_args"]

或者,如果你使用的是JSON格式的配置文件,可以尝试以下修改:

{
  "custom": {
    "container": {
      "image": "your_image_name",
      "cmd": ["your_command"],
      "args": ["your_args"]
    }
  }
}

请根据你的实际情况修改上述代码中的your_image_nameyour_commandyour_args

转转请注明出处:https://www.yunxiaoer.com/177668.html

(0)
上一篇 2023年12月5日
下一篇 2023年12月5日
详情页2

相关推荐

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
本站为广大会员提供阿里云、腾讯云、华为云、百度云等一线大厂的购买,续费优惠,保证底价,买贵退差。