![](/cache/com_z2/CM_a5fec8d8da8c7d8ee150c925d92b59eb_2021041503_02.jpg)
大家好
最近使用樹莓派3b+想在上面使用 docker
如果要在樹莓派上安裝 docker
就參考以下教學即可
"樹莓派 Raspberry Pi 安裝 Docker 教學"
但是發現當我要進行 docker pull 的時候
就是會卡住
例如在 download 時候就停止不動 ,然後樹莓派亮紅燈,然後他自己重啟
我有嘗試按照這個設定
"「Docker pull 卡住不動」 的實驗計畫"
讓 docker 在 pull 時候一次只下載一個
減少寫入的負載
但是 extracting 似乎無法設定不要在download 時候執行
而且 extracting 很容易讓樹莓派亮紅燈當機
難道是我記憶卡寫入速度太慢造成?
就在我苦無改善方法時候...
我有想到我曾經看到一篇文章有提到樹莓派如果電壓不足
容易當機
所以我找一下USB線
找了一條比較好的來使用
...
就都正常了![](https://zoearth1024moon99nas.direct.quickconnect.to/plugins/editors-xtd/zoearth_insert_emoticons_btn/imgs/99d5.gif)
![](https://zoearth1024moon99nas.direct.quickconnect.to/plugins/editors-xtd/zoearth_insert_emoticons_btn/imgs/99d5.gif)
樹莓派 進行 docker pull 的時候都正常了
原來如此...
![pull的時候都正常了原來如此](https://zoearth1024moon99nas.direct.quickconnect.to/media/z2/assets/images/system/loader.gif)
也就是說
樹莓派的這個紅燈
預設開機都應該是亮的
我之前用很爛的USB線供電的時候都沒有亮其實是不正常的...![](https://zoearth1024moon99nas.direct.quickconnect.to/plugins/editors-xtd/zoearth_insert_emoticons_btn/imgs/99d5.gif)
![](https://zoearth1024moon99nas.direct.quickconnect.to/plugins/editors-xtd/zoearth_insert_emoticons_btn/imgs/99d5.gif)
所以如果遇到樹莓派怪怪的時候
可以先確認電源是否正常喔![](https://zoearth1024moon99nas.direct.quickconnect.to/plugins/editors-xtd/zoearth_insert_emoticons_btn/imgs/0fa3.gif)
![](https://zoearth1024moon99nas.direct.quickconnect.to/plugins/editors-xtd/zoearth_insert_emoticons_btn/imgs/0fa3.gif)
![我之前用很爛的USB線供電的時候都沒有亮其實是不正常的所以如果遇到樹莓派怪怪的時候可以先確認電源是否正常喔](https://zoearth1024moon99nas.direct.quickconnect.to/media/z2/assets/images/system/loader.gif)
秘密拉麵 in 2018年台中
給大家參考囉~
留言板
歡迎留下建議與分享!希望一起交流!感恩!