Questions tagged [dockerrun.aws.json]

20 questions
12
votes
2 answers

Separate Dockerrun.aws.json files for staging and production

What is the best way to handle deployment to staging and production for the Dockerrun.aws.json file? Is there a way to pass variables to the image value, etc or have multiple Dockerrun.aws.json files one for each environment? Currently my staging…
mcd
  • 6,446
  • 9
  • 27
  • 32
9
votes
1 answer

Dockerrun aws hardcoded memory

In a Multi-container Docker environment in Elasticbeanstalk, defining the memory is mandatory in the Dockerrun.aws.json and I would like to know what are the best practices to to deal with the hardcoded values of the memory. Especially when we need…
7
votes
3 answers

How to use multi container docker in Elastic beanstalk using Amazon linux 2?

Currently, Amazon deprecated Multi-container Docker running on 64bit Amazon Linux.Need migrate to Docker running on 64bit Amazon Linux 2. In 1st version , we used Dockerrun.aws.json v2 to manage multi container docker. In latest version (Docker…
4
votes
4 answers

Elastic Beanstalk with Docker running on 64bit Amazon Linux 2/3.2.2 and Dockerrun.aws.json v3

Could somebody please point me to the correct Dockerrun.aws.json v3 documentation. I have done google many times and unable to find this v3 documentation. I am trying to do multi-container deployment to elastic beanstalk with Docker running on 64bit…
3
votes
1 answer

How can I troubleshoot Dockerrun parsing errors?

I'm banging my head against a wall trying to figure out the source of the following error I get when trying to deploy this Dockerrun file to EB: Error: parse Dockerrun.aws.json file failed with error json: invalid use of ,string struct tag, trying…
2
votes
0 answers

Deploy Spring Boot app with PostgreSQL database to AWS Elastic Beanstalk using multi container Dockerrun.aws.json

I'm trying to deploy my application using Multi Container Dockerrun.aws.json file. At first I created docker image to my application using this Dockerfile. FROM amazoncorretto:17 ARG JAR=target/peaksoft-lms-backend-0.0.1-SNAPSHOT.jar COPY ${JAR}…
2
votes
1 answer

ERROR: ValidationError - The AWSEBDockerrunVersion key in the Dockerrun.aws.json file is not valid or is not included

I tried to run Multicontainer Docker in AWS Elastic Beanstalk. Here is my Dockerrun.aws.json { "AWSEBDockerrunVersion": 2, "containerDefinitions": [ { "command": ["python", "manage.py", "runserver", "0.0.0.0:8000" ], …
1
vote
0 answers

difficult fields from docker-compose.yml to Dockerrun.aws.json

I want to translate my docker-compose.yml to Dockerrun.aws.json. But I have several places where I don't know how to translate. Here are my files: docker-compose.yml: version: '2' services: api: ports: - '8000:8000' build: …
1
vote
0 answers

from docker-compose.yml to Dockerrun.aws.json

I manually translate my docker-compose.yml to Dockerrun.aws.json. However, it did not work quite right. But I find out that when I typed eb local run, eb CLI tool added a file called docker-compose.yml to the .elasticbeanstalk folder. It seems that…
1
vote
1 answer

Container transform gives missing image parameter error

While I was trying to convert Docker compose file with the container transform I got the following error: Container "container-name" is missing required parameter 'image'. Services with the image parameter, it operates fine. However, the ones with…
ikonuk
  • 575
  • 8
  • 19
1
vote
0 answers

How do I put env_file in Dockerrun.aws.json file?

I have env_file option in my docker-compose.yml file. However, when I use container-transform, every option is translated into dockerrun, but env_file variable. What is the efficient way to pass django environment variables to the docker deployed in…
JayKay9
  • 31
  • 2
1
vote
0 answers

How to properly diagnose failed multicontainer docker app deployment to elastic beanstalk?

I'm trying to deploy a simple node and mysql server/database with elastic beanstalk. I've successfully containerized the app so I know my docker-compose.yml file is working. Now I'm trying to convert that file to a Dockerrun.aws.json file and deploy…
1
vote
0 answers

Docker container quit unexpectedly...(Error in deploying docker to Elastic Beanstalk)

I am trying to deploy a docker container to Elastic Beanstalk in AWS. I'm repeatedly getting error while doing so and each time the error is related to the ENTRYPOINT that I specified in the dockerrun.aws.json. What am I doing wrong here ? The…
1
vote
1 answer

Eureka-client not able to call another Eureka-client, throws UnknownHostException

I have 3 components - Eureka Server, Currency Exchange Service, and Currency Conversion Service. I have dockerized all 3 microservices. When I run these containers using docker engine(docker-compose.yml) its working fine. But when I deploy these…
1
vote
0 answers

Running multi-container docker with elastic beanstalk

I want to deploy an application with multi-container docker in elastic beanstalk. The problem is the EBS dashboard says the service deployed successfully but I am not able to access the application from the browser using the URL shown in the…
1
2