官网配置步骤:https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1 安装Docker社区版仓库 Update the apt package index: $ sudo apt-get update Install packages to allow apt to use a repository over HTTPS: $ sudo apt-get install \ apt-transport-…