
docker
templarzq
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
minikube 安装calico
1. 启动: (ip设成自定义网段)minikube start --network-plugin=cni --extra-config=kubeadm.pod-network-cidr=192.168.0.0/16kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yamlkubectl create -f https://docs.projectcalico.org/manifes..原创 2021-09-16 10:47:41 · 737 阅读 · 0 评论 -
docker buildx 编译多架构镜像
1. docker 版本> 1.202.配置buildx并启用:(有2种方式)(1)修改配置文件: 修改:/etc/daemon.json,添加: "experimental": true, "features": { "buildkit": true }(2)设置环境变量: export DOCKER_CLI_EXPERIMENTAL=enabled expor...原创 2021-07-12 17:37:54 · 1363 阅读 · 0 评论 -
Dockerfile 临时修改host内容
docker build --add-hosts "xxxxx hostname" -t tag .原创 2021-05-06 15:23:10 · 1159 阅读 · 0 评论 -
helm安装使用
1. 下载:wget https://get.helm.sh/helm-v2.16.0-linux-amd64.tar.gz或者从代码安装: git clone https://github.com/helm/helm.git make2. helm init --stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts --service-account tiller --upgr...原创 2021-04-19 13:44:02 · 369 阅读 · 0 评论 -
minikube 使用本地 docker镜像
1. 使用eval $(minikube docker-env)设置环境变量2. docker build -t imageName .原创 2021-04-07 13:45:17 · 1235 阅读 · 0 评论