一、降级
传送门:https://www.right.com.cn/forum/thread-322223-1-1.html
二、刷入armbian
传送门:https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=335609&highlight
三、SSH登陆N1,一键安装DOCKER
1
|
curl -sSL https: //get .docker.com | sh |
装 docker UI面板 portainer
1
|
docker pull portainer /portainer |
输入命令行创建UI容器
1
|
docker volume create portainer_data |
1
|
docker run -d -p 9000:9000 --name portainer --restart always - v /var/run/docker .sock: /var/run/docker .sock - v portainer_data: /data portainer /portainer |
装 阿里云DDNS arm docker版本
打开http://n1:9000 进去docker
点击左边栏 Images,点击右边 +Building a new image
name栏填写随便一个名字,注意要小写
下面代码放入Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
FROM golang:alpine as builder ENV CGO_ENABLED=0 RUN apk add --update git curl RUN set -ex && \ go get -u - v \ -ldflags "-X main.version=$(curl -sSL https: //api .github.com /repos/chenhw2/aliyun-ddns-cli/commits/master | \ sed -n '1,9{/sha/p; /date/p}' | sed 's/.* "//g' | cut -c1-10 | tr [a-z] [A-Z] | sed 'N;s/\n/@/g' )" \ github.com /chenhw2/aliyun-ddns-cli FROM arm64v8 /alpine LABEL MAINTAINER CHENHW2 # /usr/bin/aliyun-ddns-cli COPY --from=builder /go/bin /usr/bin ENV AKID=1234567890 \ AKSCT=abcdefghijklmn \ DOMAIN=ddns.example.win \ IPAPI=[IPAPI-GROUP] \ REDO=0 CMD aliyun-ddns-cli \ --ipapi ${IPAPI} \ auto-update \ --domain ${DOMAIN} \ --redo ${REDO} |
装 赚钱宝 Crysadm 监工 arm docker 版本
装 Nginx+php+MairDB+phpMyAdmin arm docker版本