Skip to content

IDEasy can not install docker on arch linux #2007

@jan-vcapgemini

Description

@jan-vcapgemini

Actual behavior

When I try to install/run docker using ide docker I get the following exception:

<username>@archlinux:~/projects/kubernetes/workspaces/main$ ide docker
Couldn't get installed version of docker
We need to run the following privileged command(s):
curl -s https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key | gpg --dearmor | sudo dd status=none of=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg
echo 'deb [signed-by=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg] https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/ ./' | sudo dd status=none of=/etc/apt/sources.list.d/isv-rancher-stable.list
sudo apt update
sudo apt install -y --allow-downgrades rancher-desktop=1.22.3*
This will require root permissions!
[sudo] Passwort für <username>: 
dd: '/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg' konnte nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
Running command '/usr/bin/bash' with arguments '-c' 'curl -s https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key | gpg --dearmor | sudo dd status=none of=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg'
failed with exit code 1!
curl -s https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key | gpg --dearmor | sudo dd status=none of=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg command did not execute successfully
Cannot set executable flag on file that does not exist: docker
Logfile can be found at /home/<username>/projects/_ide/logs/2026/06/08/kubernetes-ide-docker-10-42-11.log
An unexpected error occurred!
We are sorry for the inconvenience.
Please check the error below, resolve it and try again.
If the error is not on your end (network connectivity, lack of permissions, etc.) please file a bug:
https://github.com/devonfw/IDEasy/issues/new?template=bug_report.yml&title=IllegalStateException%3A+Running+command+%27docker%27+failed%3A+Cannot+run+program+%22docker%22%3A+error%3D2%2C+No+such+file+or+directory
java.lang.IllegalStateException: Running command 'docker' failed: Cannot run program "docker": error=2, No such file or directory
	at com.devonfw.tools.ide.process.ProcessContextImpl.run(ProcessContextImpl.java:258)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:249)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:233)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:212)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:191)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:177)
	at com.devonfw.tools.ide.tool.ToolCommandlet.doRun(ToolCommandlet.java:167)
	at com.devonfw.tools.ide.commandlet.Commandlet.run(Commandlet.java:232)
	at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:1312)
	at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:1136)
	at com.devonfw.tools.ide.cli.Ideasy.runOrThrow(Ideasy.java:91)
	at com.devonfw.tools.ide.cli.Ideasy.run(Ideasy.java:55)
	at com.devonfw.tools.ide.cli.Ideasy.main(Ideasy.java:134)
	at [email protected]/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)
Caused by: java.io.IOException: Cannot run program "docker": error=2, No such file or directory
	at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170)
	at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089)
	at com.devonfw.tools.ide.process.ProcessContextImpl.run(ProcessContextImpl.java:205)
	... 13 more
Caused by: java.io.IOException: error=2, No such file or directory
	at [email protected]/java.lang.ProcessImpl.forkAndExec(Native Method)
	at [email protected]/java.lang.ProcessImpl.<init>(ProcessImpl.java:295)
	at [email protected]/java.lang.ProcessImpl.start(ProcessImpl.java:225)
	at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126)
	... 15 more


Error: IDEasy failed with exit code 255

When I then manually install Rancher Desktop using the AppImage f.e. and run ide kubectl I still get the installation procedure for docker even though kubectl is already globally installed.

<username>@archlinux:~/projects/kubernetes$ ide kubectl 
We need to run the following privileged command(s):
curl -s https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key | gpg --dearmor | sudo dd status=none of=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg
echo 'deb [signed-by=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg] https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/ ./' | sudo dd status=none of=/etc/apt/sources.list.d/isv-rancher-stable.list
sudo apt update
sudo apt install -y --allow-downgrades rancher-desktop=1.22.3*
This will require root permissions!
[sudo] Passwort für <username>:

When I run kubectl without ide I get the expected output:

<username>@archlinux:~/projects/kubernetes$ kubectl
kubectl controls the Kubernetes cluster manager.

 Find more information at: https://kubernetes.io/docs/reference/kubectl/

Basic Commands (Beginner):
...

The same goes for running docker without ide:

<username>@archlinux:~/projects/kubernetes$ docker
Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Common Commands:
...

Reproduce

  1. run ide docker within a freshly created project on an arch linux system

Expected behavior

IDEasy should be able to install and run docker e.g. Rancher-Desktop without any issues.

IDEasy status

IDE_ROOT is set to ~/projects
IDE_HOME is set to ~/projects/project
Your version of IDEasy is 2026.05.001.
Your are using the latest version of IDEasy and no update is available.
Your operating system is linux(6.18.29-1-lts)@x64 [Linux@x86_64]
You are online.
Found bash executable at: /usr/bin/bash
Found git executable at: /usr/bin/git
Your settings are up-to-date.
Successfully completed ide (status)

Related/Dependent issues

No response

Comments/Hints

On Arch Linux Rancher Desktop can be installed either via an AUR image: https://aur.archlinux.org/packages/rancher-desktop or via an Appimage: https://docs.rancherdesktop.io/getting-started/installation/#installing-via-appimage.

Metadata

Metadata

Assignees

Labels

dockerdocker and esp. DockerDesktoplinuxspecific for linux OS (debian, ubunutu, suse, etc.)rancherRancher-Desktop

Type

No fields configured for Bug.

Projects

Status
🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions