question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:28
  • Comments:17

github_iconTop GitHub Comments

19reactions
Palakpatel67commented, Jan 7, 2021

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

13reactions
nikitamendelbaumcommented, Jan 21, 2021

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the Docker platform branch - AWS Elastic Beanstalk
Instead, if you are also using Docker Compose, use a docker-compose.yml ... (Optional) Use the eb local run command to build and run...
Read more >
AWS Elastic Beanstalk with docker-compose.yml file - Medium
Open a terminal and run the command below to see the EB CLI is installed, usage of “eb”, commands, and options to use...
Read more >
Docker-Compose Up Works but Eb Local Run does not
Your Dockerrun.aws.json file will be converted into a docker-compose.yml file and started using a local copy of docker.
Read more >
Configuring Docker environments - Amazon Elastic Beanstalk
yml file, at /var/log/eb-docker/containers/ <service name> . If you are using the Docker Compose feature on the Amazon Linux 2 Docker platform, you...
Read more >
`eb local run`: Dockerrun.aws.json auto-generates docker ...
docker -compose.yml: version: '3.7' services: web: build: context: ./app dockerfile: Dockerfile.prod image: <ECR-Repo>:web command: gunicorn ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found