 Harbor 环境搭建指导书– CentOS 7.6章节的步骤,使用官方提供的 Dockerfile.base 自行打包。 # find ./ -type f|grep "Dockerfile$"|grep -v "\.D"|xargs sed -i "s#photon:2.0#photon:3.0#g" # sed -i "s/goharbor/liar/g" ./make/photon/log/Dockerfile # find ./make/photon /make/photon -type f|grep "Dockerfile$"|grep -v "\.D"|xargs sed -i "s/goharbor/glongzh/g" 步骤 5 拉取 golang 1.12.12 官网镜像。 # docker pull golang:1.12.12 步骤 6 编译、安装和启动 harbor 服务。 # make install GOBUILDIMAGE=golang:1 CentOS 7.6 4 软件编译 7 步骤 1 复制 Dockerfile。 # cd make/photon/core # mkdir base # cp Dockerfile.base base/Dockerfile # cd base 步骤 2 修改 Dockerfile。 将 photon:2.0 修改为 photon:3.0,是因为 photon0 码力 | 12 页 | 873.78 KB | 1 年前3 Harbor 环境搭建指导书– CentOS 7.6章节的步骤,使用官方提供的 Dockerfile.base 自行打包。 # find ./ -type f|grep "Dockerfile$"|grep -v "\.D"|xargs sed -i "s#photon:2.0#photon:3.0#g" # sed -i "s/goharbor/liar/g" ./make/photon/log/Dockerfile # find ./make/photon /make/photon -type f|grep "Dockerfile$"|grep -v "\.D"|xargs sed -i "s/goharbor/glongzh/g" 步骤 5 拉取 golang 1.12.12 官网镜像。 # docker pull golang:1.12.12 步骤 6 编译、安装和启动 harbor 服务。 # make install GOBUILDIMAGE=golang:1 CentOS 7.6 4 软件编译 7 步骤 1 复制 Dockerfile。 # cd make/photon/core # mkdir base # cp Dockerfile.base base/Dockerfile # cd base 步骤 2 修改 Dockerfile。 将 photon:2.0 修改为 photon:3.0,是因为 photon0 码力 | 12 页 | 873.78 KB | 1 年前3
 CNCF Harbor Webinar 2020Registry Robustness / High Availability 5 6 Images Containers Stop Start Restart Run Commit Dockerfile Build tag tar archive Save Load Push Registry Images Pull Lifecycle of Containers and environment to add files 16 FROM ubuntu RUN apt-get install –y python ADD app.jar /myapp/app.jar Dockerfile Challenges Image replication (synchronization) 17 Project Images Policy Image Project0 码力 | 39 页 | 2.39 MB | 1 年前3 CNCF Harbor Webinar 2020Registry Robustness / High Availability 5 6 Images Containers Stop Start Restart Run Commit Dockerfile Build tag tar archive Save Load Push Registry Images Pull Lifecycle of Containers and environment to add files 16 FROM ubuntu RUN apt-get install –y python ADD app.jar /myapp/app.jar Dockerfile Challenges Image replication (synchronization) 17 Project Images Policy Image Project0 码力 | 39 页 | 2.39 MB | 1 年前3
 运维上海 2017-采用Harbor开源企业级Registry实现高效安全的镜像运维 -张海宁Registry Lifecycle of Containers and Images 5 Images Containers Stop Start Restart Run Commit Dockerfile Build tag tar archive Save Load Push Registry Images Pull Registry Images 6 Push Pull must be maintained – Version control – Issue tracking – Troubleshooting – Auditing 15 Same Dockerfile Always Builds Same Image? • Base image ubuntu:latest could be changed between builds • ubuntu:140 码力 | 41 页 | 4.94 MB | 1 年前3 运维上海 2017-采用Harbor开源企业级Registry实现高效安全的镜像运维 -张海宁Registry Lifecycle of Containers and Images 5 Images Containers Stop Start Restart Run Commit Dockerfile Build tag tar archive Save Load Push Registry Images Pull Registry Images 6 Push Pull must be maintained – Version control – Issue tracking – Troubleshooting – Auditing 15 Same Dockerfile Always Builds Same Image? • Base image ubuntu:latest could be changed between builds • ubuntu:140 码力 | 41 页 | 4.94 MB | 1 年前3
 采用开源Harbor Registry实现高效安全的容器镜像运维依赖构建时候的文件 5 例子: FROM ubuntu RUN apt-get install –y python ADD app.jar /myapp/app.jar 同一个 Dockerfile 始终生成同一个镜像? • 容器镜像贯穿软件生命周期各个阶段 – 开发 – 测试 – 准生产 – 产线 • 镜像一致性重要性 – 版本控制 – 问题追踪0 码力 | 29 页 | 3.97 MB | 1 年前3 采用开源Harbor Registry实现高效安全的容器镜像运维依赖构建时候的文件 5 例子: FROM ubuntu RUN apt-get install –y python ADD app.jar /myapp/app.jar 同一个 Dockerfile 始终生成同一个镜像? • 容器镜像贯穿软件生命周期各个阶段 – 开发 – 测试 – 准生产 – 产线 • 镜像一致性重要性 – 版本控制 – 问题追踪0 码力 | 29 页 | 3.97 MB | 1 年前3
共 4 条
- 1













