I am running an application for elastic coverage, with several environments. This particular application hosts docker containers that host the web service.
To download and deploy a new version of the application in one of the environments, I can go through the web client and click "Download and Deploy", and from the file option, select my latest file Dockerrun.aws.json, which refers to the latest version of the container, which is located privately. Download and deployment work fine without any problems.
To simplify the deployment for myself and others, I would like to use the CLI to download and deploy the Dockerrun.aws.json file. If I use the cli eb deploy command without any special configuration, the normal process of zipping up the entire application and sending it to the host fails (it cannot explain that it only needs to read the Dockerrun.aws.json file).
I found the documentation that you are loading the .elasticbeanstalk / config.yml file.
Using this syntax:
deploy: artifact: Dockerrun.aws.json
The file is downloaded and actually successfully deployed in the first instance, and then it is always impossible to deploy it to the second set of instances.
Taste refusal error: "container unexpectedly exited ..."
Can someone explain or provide a reference to the canonical approach for using the CLI to deploy individual docker container applications?
docker amazon-web-services elastic-beanstalk deployment amazon-elastic-beanstalk
Courtland caldwell
source share