Docker Error - “jq: error: Cannot iterate over null”

前端 未结 4 1590
别跟我提以往
别跟我提以往 2020-12-15 16:47

So I\'m trying to deploy a dockerfile on Elastic Beanstalk, but I can\'t get past this error - \"jq: error: Cannot iterate over null\".

Successfully built [         


        
4条回答
  •  旧时难觅i
    2020-12-15 17:06

    Note that an Elastic Beanstalk deployment to the Docker platform can fail with the "jq: error ... Cannot iterate over null..." error message in various phases of an Elastic Beanstalk deployment, for various different reasons. This can include your application (Docker container) quitting or erroring on startup.

    Although this particular reported occurrence of the problem may have been specific to a missing "Volumes" property in Dockerrun.aws.json, your problem may not be. If you get this error, then the best way to go about diagnosing the problem is to download your full EB logs and check the diagnostics in the following log file /var/log/eb-activity.log.

    If the problem was caused by your application failing to startup then you'll find the error in /var/log/eb-docker/containers/eb-current-app/unexpected-quit.log.

提交回复
热议问题