1.安装docker(参考网址:https://docs.docker.com/install/linux/docker-ce/ubuntu/) Uninstall old versions Older versions of Docker were called docker or docker-engine. If these are installed, uninstall them: sudo apt-get remove docker docker-engine docker.io 2…