aws / aws/aws-elastic-beanstalk-cli

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

Open
#58 21 comments 34 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
181
Forks
88
PR merge metrics
No merged PRs in 30d

Description

The [Beanstalk Documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/single-container-docker-configuration.html) 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?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `eb local run` in a directory containing only `docker-compose.yml` and inspect how the command discovers local deployment files. Determine the expected behavior for Compose-only projects, then verify that the command no longer rejects this layout and that existing Dockerfile and Dockerrun.aws.json cases still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker-compose, python
Domain
cli, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.