amazon web services - AWS ElasticBeanstalk Docker: eb local run crashing due to ERROR: JSONDecodeError -


i'm having issues running eb local run. here error:

# terminal user » eb local run creating elasticbeanstalk_postgres_1... /library/frameworks/python.framework/versions/3.6/lib/python3.6/site-packages/docker/utils/utils.py:618: userwarning: docker.utils.create_host_config() deprecated. please use client.create_host_config() instead.   'docker.utils.create_host_config() deprecated. please use ' creating elasticbeanstalk_django_1... pulling image merrymaker/django:1.1... <generator object client._stream_helper @ 0x1044bbd00> b'{"status":"pulling foo/django","id":"1.1"}\r\n{"status":"already exists","progressdetail":{},"id":"ad74af05f5a2"}\r\n' error: jsondecodeerror :: data: line 2 column 1 (char 56) 

i believe it's issue related versions came after made upgrades, here machine's details:

# os: macos sierra 10.12.5 user » docker --version docker version 17.06.2-ce, build cec0b72 user » docker-compose --version dockerdocker-compose version 1.11.2, build dfed245 user » docker-machine --version docker-machine version 0.12.2, build 9371605 user » aws --version aws-cli/1.11.149 python/3.6.1 darwin/16.6.0 botocore/1.7.7 user » eb --version eb cli 3.10.6 (python 3.6.1) 

any ideas?

edit: dockerrun.aws.json file

{   "awsebdockerrunversion": 2,   "containerdefinitions": [     {       "essential": true,       "image": "nginx:1.11.6-alpine",       "memory": 32,       "links": ["react"],       "mountpoints": [         {           "containerpath": "/etc/nginx/conf.d/default.conf",           "sourcevolume": "nginx_conf"         }       ],       "name": "nginx",       "portmappings": [         {           "containerport": 4000,           "hostport": 80         }       ]     },     {       "entrypoint": [         "/react-entrypoint.sh"       ],       "memory": 256,       "image": "foo/react:1.1",       "environment": [         {           "name": "server_prod_host",           "value": "0.0.0.0"         },         {           "name": "server_prod_port",           "value": "4000"         },         {           "name": "graphql_url",           "value": "${graphql_url}"         }       ],       "essential": true,       "portmappings": [         {           "containerport": 4000,           "hostport": 4000         }       ],       "mountpoints": [         {           "containerpath": "/react",           "sourcevolume": "react_root"         },         {           "containerpath": "/react/node_modules",           "sourcevolume": "node_modules"         }       ],       "name": "react"     }   ],   "family": "",   "volumes": [     {       "host": {         "sourcepath": "/var/app/current/docker/nginx/default.conf"       },       "name": "nginx_conf"     },     {       "host": {         "sourcepath": "/var/app/current"       },       "name": "react_root"     },     {       "host": {         "sourcepath": "node_modules"       },       "name": "node_modules"     }   ] } 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -