一.docker搭建
1.安裝docker
apt-get install docker.io docker-compose
2.編寫配置文件(注意路徑正確)
vim /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://科學上網訪問的ip:端口"
Environment="HTTPS_PROXY=http://科學上網訪問的ip:端口"
Environment="NO_PROXY=localhost,127.0.0.1"
3.通過ping進行連通性的測試
4.進行重啟服務
systemctl daemon-reload
systemctl restart docker
5.doker search進行測試
?
二.小皮面板搭建pikachu
1.下載小皮面板
sudo wget -O install.sh https://dl.xp.cn/dl/xp/install.sh && sudo bash install.sh