获取激活码
将京东无线宝
app升级到最新版,然后打开首页,点击+
号
选择添加容器矩阵
,然后获取激活码
运行容器
read -p "请输入你的激活码: " ACTIVECODE;read -p "请输入宿主机的缓存路径: " src;docker rm -f cmatrix;docker run -d -it --name cmatrix --net=host --privileged -v ${src}:/data -e ACTIVECODE=${ACTIVECODE} registry.cn-hangzhou.aliyuncs.com/liuyi778/cmatrix&&echo "运行成功"
效果
root@jmk7:~# read -p "请输入你的激活码: " ACTIVECODE;read -p "请输入宿主机的缓存路径: " src;docker rm -f cmatrix;docker run -d -it --name cmatrix --net=host --privileged -v ${src}:/data -e ACTIVECODE=${ACTIVECODE} registry.cn-hangzhou.aliyuncs.com/liuyi778/cmatrix&&echo "运行成功"
请输入你的激活码: hsmrzf
请输入宿主机的缓存路径: /data/jdbox
Error: No such container: cmatrix
Unable to find image 'registry.cn-hangzhou.aliyuncs.com/liuyi778/cmatrix:latest' locally
latest: Pulling from liuyi778/cmatrix
32b824d45c61: Pull complete
7cd128cf65d0: Pull complete
a711cd991986: Pull complete
85a13ec36ede: Pull complete
ce72ae987bac: Pull complete
ad1714a25ca5: Pull complete
a7f58e70e59d: Pull complete
Digest: sha256:122753a80fe278847cf6bc988ec4be739db1e8358d10a6a43f92abc8fdfd9bb1
Status: Downloaded newer image for registry.cn-hangzhou.aliyuncs.com/liuyi778/cmatrix:latest
e1d49370d7aa7073ac71452df7f393bc8e187959ec8f06d9bd1ed9fa8ddde66f
运行成功
root@jmk7:~#