Skip to content

Commit

Permalink
fix docker tag command
Browse files Browse the repository at this point in the history
  • Loading branch information
maguowei committed May 11, 2021
1 parent c9680ab commit 411018a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $ KUBERNETES_RELEASE_VERSION="$(curl -sSL https://dl.k8s.io/release/stable.txt)"
# 可以用下面的命令列出 kubeadm 需要的 images
$ kubeadm config images list --kubernetes-version=${KUBERNETES_RELEASE_VERSION}
# 提前拉取所需的镜像
$ docker pull gotok8s/coredns:v1.8.0 && docker tag gotok8s/coredns/coredns:v1.8.0
$ docker pull gotok8s/coredns:v1.8.0 && docker tag gotok8s/coredns:v1.8.0 gotok8s/coredns/coredns:v1.8.0
$ kubeadm config images pull --config init.yml

# 集群初始化(init.yml文件中配置了使用阿里的镜像仓库)
Expand Down

0 comments on commit 411018a

Please sign in to comment.