共计 752 个字符,预计需要花费 2 分钟才能阅读完成。
安装脚本
# $ curl -fsSL test.docker.com -o get-docker.sh
$ curl -fsSL get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh --mirror Aliyun
# $ sudo sh get-docker.sh --mirror AzureChinaCloud
启动docker
$ sudo systemctl enable docker
$ sudo systemctl start docker
另外docker compse安装
https://docs.docker.com/compose/install/
安装x-ui,两个可用的
https://registry.hub.docker.com/r/yuanter/x-ui
https://registry.hub.docker.com/r/thesadboy/x-ui (port有限制)
https://hub.docker.com/r/enwaiax/x-ui
记得建立账户链接之后开通宝塔port ip
docker overlay2清理
docker system prune -a 命令清理得更加彻底
docker-compose up -d
docker build -t azoth07/onetech-xuexi:armv7 .
docker push azoth07/onetech-xuexi:armv7
https://blog.csdn.net/weixin_32820767/article/details/81196250
https://www.cnblogs.com/mingbai/p/dockerclean.html
将Docker目录迁移到其它分区
https://www.xiaoz.me/archives/15225
正文完