在Ubuntu 20.04上安装Kubernetes 从下面提到的Docker和Kubernetes网站获取有关安装的详细信息。 设置Docker和Kubernetes存储库: 下载适用于Docker的GPG密钥 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 添加Docker存储库 # Docker has release the repository for Ubuntu 20.04 Focal LTS. # we can get the latest release versions from https://docs.docker.com sudo add-apt-repository " deb [arch=amd64] https://download.docker.