Skip to content

Implementation of get-version and get-edition commands for Docker #1653

@hkosim

Description

@hkosim

Actual behavior

When attempting to install Docker through IDEasy using ide install docker or ide kubectl, the following error occurred:

Couldn't get installed version of Docker.

The issue is caused by unimplemented functions for retrieving the version and edition of Docker.

Moreover, error messages were displayed when checking the version and edition of Docker and kubectl, even though the tools were successfully installed:

Tool docker is not installed.

Tool kubectl is not installed.

Reproduce

  1. ide kubectl OR ide install docker
  2. ide get-version docker --installed
  3. ide get-version kubectl --installed

Expected behavior

The commands should show the correct installed version and edition.

IDEasy status

IDE_ROOT is set to D:\projects
IDE_HOME is set to D:\projects\IDEasy
You are online.
Found bash executable at: C:\Program Files\Git\usr\bin\bash.exe
Found git executable at: C:\Program Files\Git\mingw64\bin\git.exe
Your settings are up-to-date.
Your version of IDEasy is 2025.11.001.
Your are using the latest version of IDEasy and no update is available.
Your operating system is windows(10.0)@x64 [Windows 11@amd64]
Successfully completed ide (status)

Related/Dependent issues

No response

Comments/Hints

The methods to be implemented can be found in GlobalToolCommandlet.java :

- getInstalledEdition()
- getInstalledVersion()

These methods should be overridden in Docker.java with the correct implementation.

Metadata

Metadata

Assignees

Labels

dockerdocker and esp. DockerDesktopinstallinstallation process of IDE + tools and install commandletrancherRancher-Desktop

Type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions