compose: Hangs on `docker.api.build._set_auth_headers: Sending auth config (u'auths')`

I am trying to run docker-compose --verbose -f docker-compose-prod.yml up -d --build from my Mac to AWS EC2, but it keeps getting stuck on docker.api.build._set_auth_headers: Sending auth config (u'auths'). I do have a very large file inside. Any thoughts?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16

Most upvoted comments

For me, it was that image name and container name had uppercase characters… Making them lowercase solved the problem…

Either be patient while your very large file gets archived then uploaded to EC2, or add it to your .dockerignore.

For me, it was that image name and container name had uppercase characters… Making them lowercase solved the problem…

Thanks! Mine was similar, I had “/” at the beginning of the image name. (Because my env variable defaulted to empty string).

Sure, if I remember correctly, zipping just compressed the file so it didn’t take so long to transfer the file across using Docker. I think I just used Gzip for zipping the file. Hope this helps!