aws / aws-elastic-beanstalk-cli

The EB CLI is a command line interface for Elastic Beanstalk that provides interactive commands that simplify creating, updating and monitoring environments from a local repository.
Apache License 2.0
161 stars 77 forks source link

`eb local run` supports docker-compose.yml? #58

Open acomagu opened 3 years ago

acomagu commented 3 years ago

The Beanstalk Documentation says:

Create a docker-compose.yml file to deploy a Docker image from a hosted repository to Elastic Beanstalk. No other files are required if all your deployments are sourced from images in public repositories.

But if execute eb local run in the directory includes only docker-compose.yml, it fails with a message:

ERROR: NotFoundError - The EB CLI cannot find Dockerfile or the Dockerrun.aws.js

Doesn't eb local run support docker-compose? Any plan to do?

Palakpatel67 commented 3 years ago

@acomagu thanks for reporting this issue. Currentlyeb local run does not support docker-compose.yml. We do have plans to support this. thanks!

nikitamendelbaum commented 3 years ago

@acomagu thanks for reporting this issue. Currentlyeb local run does not support docker-compose.yml. We do have plans to support this. thanks!

if so - there is a mistake in https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/docker.html#single-container-docker.test-remote where it clearly says to use that command with docker-compose.yml pre-created.

warrenbocphet commented 3 years ago

Any update for this? I would benefit greatly if this is possible.

tsoisauce commented 3 years ago

Yes, this would be very helpful, especially with troubleshooting. I am experiencing issues deploying with docker-compose.yml

tarasBilobran commented 3 years ago

any updates on this one?

jonaseriksson84 commented 2 years ago

Any news?

javiermolinar commented 2 years ago

Hi, this could be quite useful, currently having issues deploying with docker-compose

dryleaf commented 2 years ago

Are there any updates tp this issue?

anonymousmaharaj commented 2 years ago

Still need this.

BugliL commented 2 years ago

Same here

ghost commented 2 years ago

Or at least update your docs. I spent forever thinking this was possible and then just found this

cidraljunior commented 2 years ago

Any news?

dan1229 commented 2 years ago

Any news on this? Spent about a week playing with this to find this thread. I'm generating a Dockerrun.aws.json file using compose transform however having issues with that as well so I'd love to see if I could just use my docker-compose directly.

ThierDev commented 2 years ago

Still needed 👍 the deployment of docker-compose.yml is simply not working online as well :/ says cannot find Dockerfile or the Dockerrun.aws.json file while in fact, the docker-compose.yml file is here.

rahmataw commented 2 years ago

Still needed 👍 the deployment of docker-compose.yml is simply not working online as well :/ says cannot find Dockerfile or the Dockerrun.aws.json file while in fact, the docker-compose.yml file is here.

yup i have the same issue. It is like the EB not read docker-compose.yml when I upload as zipped file. But it can run when I only upload docker-compose.yml.

VaZark commented 1 year ago

it'd nice to see support docker-compose added so that I can replicate my env perfectly on my local machine. :+1:

baselka commented 1 year ago

docker-compose support locally is indeed needed 😃 👏

samuel-andres commented 1 year ago

we need it asap

chiragpurohit71085 commented 1 year ago

seems there is no update on this

nickbreen commented 3 months ago

The documentation literally states this is supported: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/single-container-docker-configuration.html

But obviously it isn't.

Please, at least, correct the docs.

avimehenwal commented 2 months ago

After 3 years, the docs are still misleading and compose still doesnt work with eb local.