Назад | Перейти на главную страницу

Сбой локального запуска эластичного beanstalk eb с ошибкой

когда я запускаю несколько докеров (пример) эластичного бобового стебля на докере, он не работает с

eb local run

Pulling image php:fpm...
ERROR: TypeError :: the JSON object must be str, not 'bytes'

с отладкой

> eb local run --debug
> requests.exceptions.HTTPError: 404 Client Error:
> Not Found for url:
> http+docker://localunixsocket/v1.17/containers/create?name=elasticbeanstalk_phpapp_1
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):   File
> "/home/julien/.aws/virtualpy34/lib/python3.4/site-packages/ebcli/bundled/_compose/service.py",
> line 194, in create_container
>     return Container.create(self.client, **container_options)   File "/home/julien/.aws/virtualpy34/lib/python3.4/site-packages/ebcli/bundled/_compose/container.py",
> line 36, in create
>     response = client.create_container(**options)   File "/home/julien/.aws/virtualpy34/lib/python3.4/site-packages/docker/api/container.py",
> line 119, in create_container
>     return self.create_container_from_config(config, name)   File "/home/julien/.aws/virtualpy34/lib/python3.4/site-packages/docker/api/container.py",
> line 130, in create_container_from_config
>     return self._result(res, True)   File "/home/julien/.aws/virtualpy34/lib/python3.4/site-packages/docker/client.py",
> line 150, in _result
>     self._raise_for_status(response)   File "/home/julien/.aws/virtualpy34/lib/python3.4/site-packages/docker/client.py",
> line 145, in _raise_for_status
>     raise errors.NotFound(e, response, explanation=explanation) docker.errors.NotFound: 404 Client Error: Not Found ("b'No such image:
> php:fpm'")

я запускаю ubuntu 16.04, докер и композитор работают без проблем