Compose: Docker-compose build hanging

Created on 11 Jul 2016  路  5Comments  路  Source: docker/compose

Hello,

For some reason I have a service I'm not able to build. when I run docker-compose --verbose build service-name it hangs on the following line:

docker.api.build._set_auth_headers: Sending auth config ('https://index.docker.io/v1/')

Any Idea ?

Thanks !

Most helpful comment

Does docker build <directory> work fine?

It's possible that the build context is huge and is taking ages to tar up and send to the daemon.

All 5 comments

On some computers it work, and on some other it hangs at a different place:

docker.api.build._set_auth_headers: Looking for auth config
docker.api.build._set_auth_headers: No auth config in memory - loading from filesystem
docker.auth.auth.load_config: File doesn't exist
docker.api.build._set_auth_headers: No auth config found

Does docker build <directory> work fine?

It's possible that the build context is huge and is taking ages to tar up and send to the daemon.

Internet was particularly slow that day and cloning the repo was slow. It's working again.

Thanks

I'm having same issue but my internet speed is fine getting 60mb

http://i.imgur.com/OxWzIWN.png

Try adding any large files/folders to .dockerignore.

Was this page helpful?
0 / 5 - 0 ratings