Build of docker image with centos:6.6 fails when trying to update repo -
i have following simple dockerfile:
from centos:6.6 user root run yum clean run yum update
and trying build usual:
docker build -t myimage/hadoop .
but have following error , can't find solution:
error: cannot find valid baseurl repo: base not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error 14: pycurl error 6 - "couldn't resolve host 'mirrorlist.centos.org'" info[0005] command "/bin/sh -c yum update" returned non-zero code: 1
any or reference solve problem helpful.
edit: tried solution given in post no results.
Comments
Post a Comment