工作中发现了个私有仓库 是在内网环境,上传了个jar 结果没有成功特来学习以下
想用docker的方式进行安装
1.安装docker
流程都大差不差
我按官网的来的,结果出现了这个错误
然后我就先单独安装了一个最新版的container io
然后单独安装了docker-ce 就好了
dnf install docker-ce
然后是配置我们的阿里云镜像
参考如下文章就行 或者进入阿里云里面这个地方也能看到
1.1安装docker compose
curl -L https://get.daocloud.io/docker/compose/releases/download/1.29.2/docker-compose-uname -s
-uname -m
> /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
参考:
https://docs.docker.com/engine/install/centos/
https://blog.csdn.net/l1028386804/article/details/105480007/
https://blog.csdn.net/qq_42875051/article/details/110207308?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_antiscanv2&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_antiscanv2&utm_relevant_index=1
https://truedei.blog.csdn.net/article/details/107824547?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_default&utm_relevant_index=2
2.安装Nexus OSS 3
按这个流程安装即可非常简单
参考:
https://blog.csdn.net/weixin_45444133/article/details/118993823
https://www.cnblogs.com/alan6/p/13038665.html