gpt4 book ai didi

ubuntu - Docker Desktop 不安装说 docker-ce-cli 不可安装

转载 作者:行者123 更新时间:2023-12-04 18:26:50 52 4
gpt4 key购买 nike

在一次在线培训类(class)中,讲师提到他有“一个安装了 Docker Desktop 的 Ubuntu 虚拟机”;因此,我尝试在 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 desktop 无法安装,而没有一些与 docker 引擎一起安装的依赖项。

关于ubuntu - Docker Desktop 不安装说 docker-ce-cli 不可安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72299444/

52 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com