我有一個Windows實例,其中我正在運行一個Windows Docker容器。在實例本身,我成功執行berks vendor/install
,沒有任何問題。然而,在該機器上運行的Windows泊塢窗容器不起作用,並引發超時錯誤。 錯誤是不夠清楚,所以我決定執行librarian-chef install
並獲得更多的輸出。看起來有什麼與SSL連接有關。 在過去幾天的長時間研究之後,我嘗試了幾件事情,但仍然得到相同的錯誤。運行berks安裝時發生錯誤
Resolving cookbook dependencies... Fetching 'firefox' from source at . Fetching 'firefox_test' from source at test/fixtures/cookbooks/firefox_test Fetching cookbook index from https://supermarket.chef.io... [2017-08-02T09:09:19+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 1/5 [2017-08-02T09:14:24+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 2/5 [2017-08-02T09:19:29+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 3/5 [2017-08-02T09:24:34+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 4/5 [2017-08-02T09:29:39+00:00] ERROR: Timeout connecting to https://supermarket.chef.io/universe, retry 5/5 Error retrieving universe from source: https://supermarket.chef.io * [Berkshelf::APIClient::TimeoutError] Unable to connect to: universe Using firefox (4.0.0) from source at . Using firefox_test (0.1.0) from source at test/fixtures/cookbooks/firefox_test Cookbook 'dmg' (4.0.0) not found in any of the sources! This can happen if the remote cookbook has been deleted or if the sources inside the Berksfile have changed Please run berks update dmg to resolve to a valid version.
我將不勝感激,如果有人可以幫助這裏。 在此先感謝
請包括實際的錯誤信息。同時你也不會同時使用Berks和Librarian,所以這可能是一個紅鯡魚。 – coderanger
我不是在同一時間使用Berks和圖書管理員,因爲我解釋Berks日誌不夠清晰,所以我跑圖書管理員廚師,看我是否可以得到一個高級錯誤日誌,我得到了。伯克斯和圖書管理員是不同的工具,但最終他們接受相同的(連接到超市或任何地方,並下載所需的食譜)。 –
他們使用完全無關的配置文件(Berksfile vs Cheffile),所以你不能只運行一個或另一個。 – coderanger