添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Fresh Ubuntu 22.04.2 arm64 install, trying to follow the Docker for Desktop installation instructions from the docker docs and its failing with unmet dependencies, see below. I updated everything and validated the dependencies are present on the system, rather frustrating.

parallels@vm01-ubuntu-local:~$ sudo apt-get install ./docker-desktop-4.30.0-amd64.deb
[sudo] password for parallels:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘docker-desktop:amd64’ instead of ‘./docker-desktop-4.30.0-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 to resolve the situation:

The following packages have unmet dependencies:
docker-desktop:amd64 : Depends: docker-ce-cli:amd64 but it is not going to be installed
Depends: libseccomp2:amd64 but it is not installable
Depends: libcap-ng0:amd64 but it is not installable
Depends: pass:amd64 but it is not installable
Depends: libgtk-3-0:amd64 but it is not installable
Depends: libx11-xcb1:amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.
parallels@vm01-ubuntu-local:~$ ^C
parallels@vm01-ubuntu-local:~$ sudo apt-get install libseccomp2
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
libseccomp2 is already the newest version (2.5.3-2ubuntu2).
libseccomp2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
parallels@vm01-ubuntu-local:~$ sudo apt-get install libcap-ng0
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
libcap-ng0 is already the newest version (0.7.9-2.2build3).
libcap-ng0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
parallels@vm01-ubuntu-local:~$ sudo apt-get install docker-ce-cli
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package docker-ce-cli
parallels@vm01-ubuntu-local:~$

That’s not goiing to work. The documentation clearly says only amd64 is supported

https://docs.docker.com/desktop/install/linux-install/#supported-platforms

https://docs.docker.com/desktop/install/ubuntu/

Docker Desktop is supported on x86_64 (or amd64 ) architecture.

You can’t download a package for amd64 and install it on arm64. So it is true when the error message says

wynd67:

libseccomp2:amd64 but it is not installable

AMD was at least doing something… ARM however also fails and does so with no clue as to next steps.

parallels@vm01-ubuntu-local:~$ sudo apt-get install ./docker-desktop-4.30.0-arm64.deb
Reading package lists… Done
E: Unsupported file ./docker-desktop-4.30.0-arm64.deb given on commandline

Docker is not Docker Desktop. You can run Docker on arm, but if you tried to install Docker Desktop inside a virtual machine, that’s another problem as then you would need to have nested virtualization enabled.

But isn’t Parallels for macOS? If you want to run Docker Desktop on macOS, you can install Docker Desktop for Mac. If you want to install Docker on Linux on arm architecture, you can install Docker CE (Docker Engine).