docker-readthedocs
docker-readthedocs copied to clipboard
Issues with Docker DNS + pip wheel install
Hi, i had some trouble installing pip as the execution of readthedocs/Dockerfile failed with this message:
Collecting wheel
Exception:
Traceback (most recent call last):
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
I resolved this by installing this by editing the readthedocs/Dockerfile to
RUN apt-get install python-pip
RUN python -m pip install --upgrade pip setuptools wheel
RUN pip install wheel
RUN pip install virtualenv
RUN pip install supervisor
This resolved my TypeError. I'm just posting this so there's a record and maybe it helps someone else to install readthedocs.
I also had an issue with the docker DNS, as docker did not resolve the elasticsearch urls. this post helped me resolving this.
This post helped me fixing this issue: https://development.robinwinslow.uk/2016/06/23/fix-docker-networking-dns/
Thanks a lot, Florian, for pushing the image out.