Unable to use AWS Elastic Beanstalk with Docker to deploy WordPress

I created a new environment in AWS Elastic Beanstalk, running Docker and import my Dockerrun.aws.json file however it does not deploy correctly. Here’s my Dockerrun.aws.json file I upload – Can anyone tell me what’s wrong with it?

{
"AWSEBDockerrunVersion": "1",
"Image": {
    "Name": "wordpress"
},
"Ports": [
    {
        "ContainerPort": "80"
    }
]
}

  • Where does Travis CI put my source files?
  • Docker node development environment on windows
  • Failed to run a script using IntelliJ plugin for docker deplyment
  • Postgres docker-image won't run and won't start [closed]
  • Docker in AWS Elastic Beanstalk: executable file not found in $PATH"
  • Copy war file from local machine to docker
  • App running on docker consuming page cache of host machine.Is that anti-pattern ?
  • Why does Dockerfile RUN print echo options?
  • boot2docker on windows - Unable to pull images
  • How to check the docker is installed by apt-get in ubuntu?
  • debug spring boot in vagrant and docker
  • Certificate error when pulling docker images
  • One Solution collect form web for “Unable to use AWS Elastic Beanstalk with Docker to deploy WordPress”

    Docker run file seems ok for me. The following worked fine:

    {
      "AWSEBDockerrunVersion": "1",
      "Image": {
        "Name": "wordpress",
        "Update": "false"
      },
      "Ports": [
        {
          "ContainerPort": "80"
        }
      ],
      "Logging": "/var/log/nginx"
    }
    

    Make sure you have all EB env vars setup for MySQL connection. Otherwise it deploy will fail.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.