上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 1、查看 虚拟机信息 virsh dominfo centos_test1 2、查看正在运行的虚拟机 virsh list / virsh list --all #所有虚拟机 3、编辑虚拟机配置 virsh edit centos7_template 4、查看虚拟机磁盘信息 qemu-img inf 阅读全文
posted @ 2021-11-23 16:57 蒲公英PGY 阅读(97) 评论(0) 推荐(0)
摘要: - hosts: "{{ hosts }}" remote_user: root gather_facts: false serial: "100%" tasks: - name: mkdir file dir shell: mkdir -p /data/service/docker-compose 阅读全文
posted @ 2021-11-19 10:26 蒲公英PGY 阅读(101) 评论(0) 推荐(0)
摘要: ```bash // 需要插件 Pipeline Pipeline-Maven Pipeline-Utility-Steps git def createVersion() { // 定义一个版本号作为当次构建的版本,输出结果 20191210175842_69 // return new Date 阅读全文
posted @ 2021-11-18 18:50 蒲公英PGY 阅读(163) 评论(0) 推荐(0)
摘要: pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /ad 阅读全文
posted @ 2021-11-18 17:41 蒲公英PGY 阅读(209) 评论(0) 推荐(0)
摘要: 编写例子 FROM self.harbor.com/library/jdk:201 WORKDIR /home RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo 'Asia/Shanghai' >/etc/tim 阅读全文
posted @ 2021-11-17 17:40 蒲公英PGY 阅读(41) 评论(0) 推荐(0)
摘要: version: "3" services: servicename: # 服务名称 同主机唯一 image: harbor.com/test/servicename:version # 镜像 container_name: servicename # 容器名称 hostname: servicen 阅读全文
posted @ 2021-11-17 17:40 蒲公英PGY 阅读(175) 评论(0) 推荐(0)
摘要: FROM jenkins/jenkins:2.288USER rootCOPY docker-compose /usr/local/bin/RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shangh 阅读全文
posted @ 2021-11-17 17:32 蒲公英PGY 阅读(41) 评论(0) 推荐(0)
摘要: docker stop NAME docker container update NAME --cpus="2" --memory="2g" --memory-swap="-1" docker start NAME 修改已经创建的容器的启动模式 docker container update --r 阅读全文
posted @ 2021-11-16 14:17 蒲公英PGY 阅读(194) 评论(0) 推荐(0)
摘要: 1.获取nexus3镜像 docker pull sonatype/nexus3 2.创建启动nexus3容器 docker run -dit -p 8081:8081 --name nexus -v /home/nexus-data:/var/nexus-data --restart=always 阅读全文
posted @ 2021-11-16 11:16 蒲公英PGY 阅读(1028) 评论(0) 推荐(0)
摘要: 官方Github地址: https://github.com/goharbor/harbor 资源下载地址: https://github.com/goharbor/harbor/releases 由于国内网络环境直接,下载离线安装包: harbor-offline-installer-v2.3.4 阅读全文
posted @ 2021-11-16 10:40 蒲公英PGY 阅读(150) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 下一页