1.在mac上安装portia,https://github.com/scrapinghub/portia
git clone后使用docker build -t portia .
最后爆出错误
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python3-defaults/python3-dev_3.4.0-0ubuntu2_amd64.deb Connection failed [IP: 91.189.91.24 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Command failed (exitcode: 100), exiting...
是因为ubuntu的源要更改吗?
天蓬老师2017-04-24 09:11:21
This is because the download from the official ubuntu source failed during build.
You can try it a few more times, maybe it will succeed when the network is good.
Or change the ubuntu source to a domestic source: such as 163. Note that this requires modifying the commands in the Dockerfile.
However, it is recommended to download the docker image directly: docker pull scrapinghub/portia-on-dash