Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
624 views
in Technique[技术] by (71.8m points)

amazon web services - is docker-compose.yml not supported in AWS Elastic Beanstalk?

In my root directory, I have my docker-compose.yml.

$ ls

returns:

build cmd docker-compose.yml exp go.mod go.sum LICENSE media pkg README.md

In the same directory, I ran:

$ eb init -p docker infogrid

$ eb create infogridEnv

However, this gave me an error:

Instance deployment: Both 'Dockerfile' and 'Dockerrun.aws.json' are missing in your source bundle. Include at least one of them. The deployment failed.

The fact that it does not even include docker-compose.yml as the missing file makes me think it does not support docker-compose. This is contradicting with the main documentation where it explicitly shows an example with docker-compose.yml.

question from:https://stackoverflow.com/questions/65920669/is-docker-compose-yml-not-supported-in-aws-elastic-beanstalk

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...