elastic beanstalk can not find Dockerfile

When using eb CLI

eb init
eb create

i get an error:

  • Why does docker issue a “forbidden path” error?
  • Docker, aufs, and unattended-upgrades
  • Delivering software updates with Docker
  • Accessing other machines on a vagrant/virtual box host only network from within a docker container
  • what is a docker image? what is it trying to solve?
  • pthreads process-shared memory when using: docker run --ipc --pid
  • ERROR: [Instance: i-003165df12360a5c4] Command failed on instance. Return code: 1 Output: Dockerfile and Dockerrun.aws.json are both missing, abort deployment.
    

    It seems like the ZIP file sent to the S3 indeed only contains README.md file. but the local folder does contain the Dockerfile and

    eb local run 
    

    seems to work fine.

    Any ideas?

  • Trying to reach localhost from inside Selenium docker
  • nginx no such file or directory
  • Upgrading docker without affecting running containers
  • Can't access env variables in RUN script.sh Dockerfile
  • Docker Compose - one specific container randomly doesn't start properly
  • How to reuse the same volume in Docker when restarting a container?
  • One Solution collect form web for “elastic beanstalk can not find Dockerfile”

    Seems to be solved.
    After removing “.git” folder “eb create” worked.
    Seems like a bug in elastic beanstalk as i don’t see why the existents of a subfolder should prevent eb from zipping the files in the directory…

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