Category : dockerrun.aws.json

I’m new to Amazon aws, currently I’m deploying my docker apps to AWS EB by using Dockerrun.aws.json file. I’ve provided the .dockercfg but the EB failed to pull the docker image from the dockerhub with error: [ERROR] An error occurred during execution of command [app-deploy] – [Docker Specific Build Application]. Stop running the command. Error: ..

Read more

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 running on 64bit Amazon Linux 2), we need to use Dockerrun.aws.json v3 or docker-compose. But there is no working ..

Read more

I’m using EB on AWS with multi-container application by using Dockerrun.aws.json. Last time I got the problem with ENV updates. My update finishes with TimeOut status. I have no logs from update on EC2 (checked all logs in /var/log). Recreating environment doesn’t help. Now I make updates using walkaround — I push new version of ..

Read more

I am trying to deploy a multicontainer SpringBoot app. My docker-compose.yml has the below fields, services: my-planner-rest: image: planner/myplanner:v1 -> v1 is the image tag domainname: www.myplanner.com How do I specify the image tag and domainname in Dockerrun.aws.json? Is it even possible? VERSIONS: docker-compose.yml version: 3 Dockerrun.aws.json (AWSEBDockerrunVersion): 2 Thanks. Source: Docker..

Read more

As part of dev environment, I have deployed golang microservices and mongodb in Multi-container Docker running on 64bit Amazon Linux platform using Dockerrun.aws.json. { "AWSEBDockerrunVersion": 2, "volumes": [ { "name": "mongodb", "host": { "sourcePath": "/var/app/current/data/db" }, "dockerVolumeConfiguration": { "scope": "shared", "autoprovision": true, "driver": "local", "labels": { "mongodb": "mongo_db" } } }, { "name": "categories", "host": ..

Read more

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 Amazon Linux 2/3.2.2 but unsuccessful so far. So far I am using Dockerrun.aws.json v2 format which ..

Read more

I wanted to make a CI/CD with Java application (random application on github). I followed this tutorial: https://www.blog.labouardy.com/elastic-beanstalk-docker-tips/ (but I use GitHub Actions). Everything works except for the pull image in Elastic Beanstalks. I made a separate push of the Dockerrun.aws.json file, but the download failed. I tried to take any other image from the ..

Read more

AWS is giving error "Service:AmazonECS, Code:ClientException, Message:Invalid setting for container ‘frontend’. At least one of ‘memory’ or ‘memoryReservation’ must be specified" below is dockerrun.aws.json { "AWSEBDockerrunVersion": 2, "containerDefinitions": [ { "name": "frontend", "image": "abc/frontend", "memory": 128, "hostname": "frontend", "essential": true }, { "name": "server", "image": "abc/"server", "memory": 128, "hostname": ""server", "essential": true } ], "links": ..

Read more

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: context: ./saleor dockerfile: ./Dockerfile args: STATIC_URL: /static/ restart: unless-stopped networks: – saleor-backend-tier depends_on: – db – redis – jaeger volumes: – ‘./saleor/saleor/:/app/saleor:Z’ ..

Read more

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 eb CLI tool tried to translate Dockerrun.aws.json to docker-compose.yml. Since I already have a working ..

Read more