When I try to run
$ eb local run
I get an error:
Creating elasticbeanstalk_samplerailsdockerappapp_1... /root/.local/lib/python3.5/site-packages/docker/utils/utils.py:591: UserWarning: docker.utils.create_host_config() is deprecated. Please use Client.create_host_config() instead. 'docker.utils.create_host_config() is deprecated. Please use ' Pulling image xxxxx.dkr.ecr.eu-central-1.amazonaws.com/xxxxxx:latest... ERROR: TypeError :: the JSON object must be str, not 'bytes'
I'm using ECR to store images.
How to fix that?
EDIT:
$ python --version Python 2.7.12 $ python3 --version Python 3.5.2