文章目录
Step 0 :設定Proxy
export http_proxy="http://XX.XX.XX.XX:XX/"
export https_proxy="http://XX.XX.XX.XX:XX/"
export HTTP_PROXY="http://XX.XX.XX.XX:XX/"
export HTTPS_PROXY="http://XX.XX.XX.XX:XX/"
Step 1:懶人安裝
curl -sSL https://get.docker.com | sh
Step 2:pi add into docker group
sudo usermod -aG docker pi
docker search raspbian
Step 3:Set to run automatically when the system boots
sudo systemctl restart docker
sudo systemctl enable docker
Step 3:Test Docker
docker search raspbian