Deploying Django with Docker on Amazon Elastic Beanstalk

I have a conceptual question here-
I’m looking to deploy a Django application on Elastic Beanstalk (which I’ve successfully done before) using a Docker (which I have yet to succeed with). I know the Elastic Beanstalk image prebuilt with Docker uses Ngnix, which I’ve deployed Django with before, but I’m a little lost on the accomplishing this on Elastic Beanstalk. I’ve used Amazon’s documentation and successfully deployed a Dockerfile to elastic beanstalk using their code, but have yet to get it going on my own. Has anyone been successful with this? Can anyone point me in the right direction to find out how to accomplish this specific task? Thank you

  • Using docker-compose to collaborate on existing git repo Django project
  • There is 1 other session using the database while resetting database in django using docker
  • docker - cannot find aws credentials in container although they exist
  • Node.js process, running in Docker container hangs without exiting or throwing when out of memory
  • docker/matplotlib: RuntimeError: Invalid DISPLAY variable
  • Auth0 OWIN API not validating JWT token when published via Docker Container on AWS EC2
  • always npm install locally from package.json
  • How do you deploy properly to AWS with Elastic beanstalk and Dockerrun.aws.json?
  • lxc-start: Invalid argument - failed to clone
  • Tag a docker container?
  • Docker Compose volume doesn't persist files in subfolders
  • Sharing files between container and host
  • One Solution collect form web for “Deploying Django with Docker on Amazon Elastic Beanstalk”

    Ok, so StackOverflow is being a pain about posting this answer (Seems to not like all the config snippets). So here’s the link to the Github https://github.com/AndrewSmiley/django-docker-eb. Basically the README is the post I tried to add here to StackOverflow, but unsuccessfully.

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