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"
    }
]
}

  • Leverage iptables to drop packets between docker containers
  • docker info: are huge (tens-of-thousands) container counts normal?
  • What's eth0 used for in docker host machine
  • invalid header field value "oci runtime error while running docker image
  • Write to a file on docker container gives error: No such file or directory
  • In Docker for Windows, permissions denied for mkdir/chown
  • docker cannot start container … cpu.shares: no such file or directory
  • Multiple public ip-addresses in Docker containers for outgoing connections
  • How can I run both Docker and Android Studio Emulator on Windows?
  • Docker pull ubuntu no reply
  • Is it beneficial to compile Java code directly into native exe in Docker environment
  • How to remove a Docker image from the Bluemix Hub?
  • 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.