0
我在我的Windows機器上使用docker工具箱。我正在嘗試從github https://github.com/pyannote/pyannote-video構建這個項目。當我通過運行docker build -t pyannote/video .
建立形象,我得到以下錯誤:Docker構建:無法獲取檔案
Get:17 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip all 1.5.4-1ubuntu3
404 Not Found [IP: 91.189.88.149 80]
Fetched 1658 kB in 21s (78.5 kB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python-pip/python-pip-whl_1.5.4-1ubuntu3_all.deb 404 Not Found [IP: 91.189.88.1
9 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python-pip/python-pip_1.5.4-1ubuntu3_all.deb 404 Not Found [IP: 91.189.88.149 8
]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends python python-dev python-pip' returned
a non-zero code: 100
我上http://archive.ubuntu.com/ubuntu/pool/universe/p/python-pip/檢查。有python-pip_1.5.4-1ubuntu4_all.deb而不是python-pip_1.5.4-1ubuntu3_all.deb。
輸出是要求我運行apt-get update或嘗試使用--fix-missing,但是我在Windows上運行docker。運行apt-get將返回未找到的命令。我應該怎麼做才能解決這個問題?
他在windows上運行docker,不能在windows下運行linux容器,對吧? –
@ Farhad:如果你的意思是[LXC](https://en.wikipedia.org/wiki/LXC)中的「Linux容器」,這個答案與此無關。如果你的意思一般是容器化的Linux實例,你認爲Docker是什麼? – jwodder
我的意思是在windows下安裝docker的Containerized Linux實例。 http://stackoverflow.com/questions/33190469/linux-machine-with-docker-deploy-windows-container –