You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long story short, im doing my first deployment of multicontainer Docker using eb and faced with the issue:
ERROR Instance deployment: Both 'Dockerfile' and 'Dockerrun.aws.json' are missing in your source bundle. Include at least one of **them.**
So I decided to fallow some examples and found that I Can't build/run app locally with eb. Im not 100% if its related but decided to add this for context. Let me know if I need to create new issue for Instance deployment issue.
ERROR Instance deployment: Both 'Dockerfile' and 'Dockerrun.aws.json' are missing in your source bundle. Include at least one of them.
I faced a similar issue like this when deploying it. The reason was because I had zipped the file outside the source folder. Instead use zip -r <name_of_the_zip> * from the source folder.
This resolved the issue with deployment but I am still facing ebcli.objects.exceptions.NotSupportedError: You can use "eb local" only with preconfigured, generic and multicontainer Docker platforms
Description
Long story short, im doing my first deployment of multicontainer Docker using
eb
and faced with the issue:So I decided to fallow some examples and found that I Can't build/run app locally with
eb
. Im not 100% if its related but decided to add this for context. Let me know if I need to create new issue for Instance deployment issue.Steps to reproduce
fallow steps from:
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/docker.html
which is:
eb-docker-flask
Dockerfile
andapplication.py
with provided exampleseb init -p docker application-name
eb local run --port 5000
Observed result
ebcli.objects.exceptions.NotSupportedError: You can use "eb local" only with preconfigured, generic and multicontainer Docker platforms.
Expected result
Build and run of the docker file
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
The text was updated successfully, but these errors were encountered: