Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
acomagu opened this issue Dec 12, 2020 · 21 comments · May be fixed by #514
Open

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

acomagu opened this issue Dec 12, 2020 · 21 comments · May be fixed by #514
Labels
enhancement New feature or request

Comments

@acomagu
Copy link

acomagu commented Dec 12, 2020

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
Copy link

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

@Palakpatel67 Palakpatel67 added the enhancement New feature or request label Jan 7, 2021
@nikitamendelbaum
Copy link

@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
Copy link

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

@tsoisauce
Copy link

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

@tarasBilobran
Copy link

any updates on this one?

@jonaseriksson84
Copy link

Any news?

@javiermolinar
Copy link

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

@dryleaf
Copy link

dryleaf commented Oct 24, 2021

Are there any updates tp this issue?

@anonymousmaharaj
Copy link

Still need this.

@BugliL
Copy link

BugliL commented Jan 14, 2022

Same here

@ghost
Copy link

ghost commented Apr 27, 2022

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

@cidraljunior
Copy link

Any news?

@dan1229
Copy link

dan1229 commented Jun 19, 2022

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
Copy link

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
Copy link

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
Copy link

VaZark commented Oct 21, 2022

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

@baselka
Copy link

baselka commented Nov 13, 2022

docker-compose support locally is indeed needed 😃 👏

@samuel-andres
Copy link

we need it asap

@chiragpurohit71085
Copy link

seems there is no update on this

dgarbartopti added a commit to dgarbartopti/aws-elastic-beanstalk-cli that referenced this issue Apr 16, 2024
partially fixes aws#58, but ideally a full fix would just copy a docker-compose.yml at the root if one existed

this just fixes improperly dumping multiple services at the root of the docker-compose and failing validation

also it ideally would work with the "ECS" image and not just "Multi-container Docker"
@nickbreen
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.