0
我試圖從碼頭集裝箱運行zotonic(使用zotonic/zotonic-dev)運行時發生此錯誤,似乎我無法連接到互聯網從容器。我試過在My docker container has no internet中使用解決方案,但似乎沒有任何工作,或者我正在跳過一些東西?無法從碼頭集裝箱訪問互聯網
我開始使用它docker-compose run --service-ports zotonic sh
Building Zotonic for the first time.
EXOMETER_PACKAGES="-afunix -netlink -exo +setup" && ./rebar -C rebar.config.lock get-deps
WARN: Missing plugins: [rebar_lock_deps_plugin]
==> zotonic (get-deps)
Pulling goldrush from {git,"git://github.com/DeadZen/goldrush.git",
"71e63212f12c25827e0c1b4198d37d5d018a7fec"}
Cloning into 'goldrush'...
fatal: Unable to look up github.com (port 9418) (Try again)
ERROR: sh(git clone -n git://github.com/DeadZen/goldrush.git goldrush)
failed with return code 128 and the following output:
Cloning into 'goldrush'...
fatal: Unable to look up github.com (port 9418) (Try again)
ERROR: 'get-deps' failed while processing /opt/zotonic: rebar_abort
make: *** [GNUmakefile:40: get-deps] Error 1
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [kernel-poll:true]
您使用了哪一個碼頭圖像,並且可以在帖子中準確地添加如何啓動它?是zotonic/zotonic還是別的?另外,你知道你可以連接到容器並從裏面調試,包括安裝缺少的東西嗎?命令是:docker exec -it「你的容器的ID」bash –
你在代理服務器後面運行嗎? – yamenk
@ isp-zax我正在使用zotonic/zotonic-dev並使用'docker-compose run --service-ports zotonic sh'運行它。 @yamenk不,我沒有使用任何代理 –