`eb local run` supports docker-compose.yml?
See original GitHub issueThe 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:
- Created 3 years ago
- Reactions:28
- Comments:17
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@acomagu thanks for reporting this issue. Currently
eb local run
does not supportdocker-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.