Docker 桌面没有安装说 docker-ce-cli not installable
Docker Desktop doesn't install saying docker-ce-cli not installable
在一次在线培训课程中,讲师提到他“安装了一个 Ubuntu 虚拟机 Docker Desktop”;因此,我尝试在官方网站上 instructions 之后的 Windows 10 物理主机上安装相同的内容。
然而,apt-get install
没有起作用,错误信息是 docker-desktop : Depends: docker-ce-cli but it is not installable
。我想知道我是否在这里遗漏了什么。
我们非常感谢任何提示或建议。如果您需要更多详细信息,请告诉我。
截图:
root@dockeru:/home/work/Downloads# ls
docker-desktop-4.8.1-amd64.deb firefox.tmp
root@dockeru:/home/work/Downloads# apt-get install ./docker-desktop-4.8.1-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'docker-desktop' instead of './docker-desktop-4.8.1-amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
docker-desktop : Depends: docker-ce-cli but it is not installable
E: Unable to correct problems, you have held broken packages.
您首先需要安装docker引擎。 Official Docker Engine link
然后您可以按照 docker 桌面指南进行操作。我认为这是因为 docker 桌面在没有使用 docker 引擎安装的某些依赖项的情况下无法安装。
在一次在线培训课程中,讲师提到他“安装了一个 Ubuntu 虚拟机 Docker Desktop”;因此,我尝试在官方网站上 instructions 之后的 Windows 10 物理主机上安装相同的内容。
然而,apt-get install
没有起作用,错误信息是 docker-desktop : Depends: docker-ce-cli but it is not installable
。我想知道我是否在这里遗漏了什么。
我们非常感谢任何提示或建议。如果您需要更多详细信息,请告诉我。
截图:
root@dockeru:/home/work/Downloads# ls
docker-desktop-4.8.1-amd64.deb firefox.tmp
root@dockeru:/home/work/Downloads# apt-get install ./docker-desktop-4.8.1-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'docker-desktop' instead of './docker-desktop-4.8.1-amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
docker-desktop : Depends: docker-ce-cli but it is not installable
E: Unable to correct problems, you have held broken packages.
您首先需要安装docker引擎。 Official Docker Engine link 然后您可以按照 docker 桌面指南进行操作。我认为这是因为 docker 桌面在没有使用 docker 引擎安装的某些依赖项的情况下无法安装。