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

  • How to use kvm in a Centos 6 docker container via docker machine
  • Docker compose with subdirectory and live reload
  • docker swarm - etcd cluster is unavailable or misconfigured
  • How can I restrict ports to a host created by docker-machine?
  • Kubernetes keeps removing Heapster & Grafana services due to already-used NodePort
  • Can I get an image digest without downloading the image?
  • Docker: Run command while another command is running
  • Find container size using python sdk
  • Docker data safety
  • Docker Cloud Disable service endpoints
  • TLS error when using docker-machine driver digitalocean
  • Docker-machine swarm; how to open ports on VM
  • 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.