Docker Community Forums

Share and learn in the Docker community.

Automated build fails at docker, but not locally


(Boardstretcher) #1

I have an automated build that is failing. I can not recreate the problem locally. Is it something to do with the build system at docker itself?

This is the container:
https://registry.hub.docker.com/u/szboardstretcher/nagios-4.0.8_centos7/

And this is the error:
http://fpaste.org/131555/41005405/

Does anyone have any tips on dealing with this? I don’t understand how a build can work on my systems locally, and at DigitalOcean, but not at docker?


(Sven Dowideit) #2

its possible that you’re getting successful local builds because you have an old version of the Centos image, or some other build-cache related artifact.

(or that it really is something to do with the Hub builder :/)

For testing’s sake, its worth deleting the centos image and then re-running your build with --no-cache.


(Boardstretcher) #3

I ran the build on docker hub again. Worked fine! Seems to have been a network hiccup on the docker infrastructure.

Thanks for the reply sir.


(Boardstretcher) #4

I ran the build on docker hub again. Worked fine! Seems to have been a network hiccup on the docker infrastructure.

Thanks for the reply sir.