上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: Kubernetes 介绍 Kubernetes是一个全新的基于容器技术的分布式架构领先方案, 它是Google在2014年6月开源的一个容器集群管理系统,使用Go语言开发,Kubernetes也叫K8S。K8S是Google内部一个叫Borg的容器集群管理系统衍生出来的,Borg已经在Google 阅读全文
posted @ 2021-12-17 12:59 Aimmi 阅读(105) 评论(0) 推荐(0)
摘要: Harbor Docker加速器 [root@Aimmi ~]# cat /etc/redhat-release CentOS Stream release 8 [root@localhost ~]# cd /etc/containers/ [root@localhost containers]# 阅读全文
posted @ 2021-12-16 05:02 Aimmi 阅读(304) 评论(0) 推荐(0)
摘要: podman容器的开机自启 创建网络 [root@Aimmi ~]# podman network create mynetwork /etc/cni/net.d/mynetwork.conflist [root@Aimmi ~]# podman network ls NETWORK ID NAME 阅读全文
posted @ 2021-12-15 07:27 Aimmi 阅读(551) 评论(0) 推荐(0)
摘要: podman 什么是podman Podman 是一个开源项目,可在大多数 Linux 平台上使用并驻留在GitHub 上。Podman 是一个无守护进程的容器引擎,用于在 Linux 系统上开发、管理和运行 Open Container Initiative (OCI) 容器和容器映像。Podma 阅读全文
posted @ 2021-12-14 12:44 Aimmi 阅读(179) 评论(0) 推荐(0)
摘要: alpine 更新apk源 echo "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.8/main/" > /etc/apk/repositories //清华大学源 echo "https://mirrors.ustc.edu.cn/alpine/v3 阅读全文
posted @ 2021-12-13 03:52 Aimmi 阅读(139) 评论(0) 推荐(0)
摘要: 基于Alpine编写Haproxy的Dockerfile 结构目录 [root@Aimmi ~]# tree . |-- anaconda-ks.cfg |-- haproxy | |-- Dockerfile | |-- entrypoint.sh | `-- files | |-- haprox 阅读全文
posted @ 2021-12-13 03:48 Aimmi 阅读(103) 评论(0) 推荐(0)
摘要: 软件包下载 [root@Aimmi files]# wget https://www.haproxy.org/download/2.4/src/haproxy-2.4.0.tar.gz --2021-12-10 23:26:50-- https://www.haproxy.org/download/ 阅读全文
posted @ 2021-12-11 12:47 Aimmi 阅读(114) 评论(0) 推荐(0)
摘要: docker数据卷部署nginx容器 [root@Aimmi ~]# mkdir -p /config [root@Aimmi ~]# cd /var/www/html/ [root@Aimmi html]# ls index.html index_files 将配置文件复制到/config目录下 阅读全文
posted @ 2021-12-08 12:47 Aimmi 阅读(140) 评论(0) 推荐(0)
摘要: Dockerfile 基本结构 Dockerfile 是一个文本格式的配置文件,用户可以使用 Dockerfile 快速创建自定义镜像。 Dockerfile 由一行行命令语句组成,并且支持以 # 开头的注释行。 Docker分为四部分: 基础镜像信息 维护者信息 镜像操作指令 容器启动时默认要执行 阅读全文
posted @ 2021-12-08 02:38 Aimmi 阅读(42) 评论(0) 推荐(0)
摘要: 存储卷部署Apache网站 创建仓库 [root@Aimmi ~]# docker run --name centos -dit centos /bin/bash Unable to find image 'centos:latest' locally latest: Pulling from li 阅读全文
posted @ 2021-12-08 01:45 Aimmi 阅读(35) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页