Updated on 2023-05-26 GMT+08:00

Unidentified PowerShell Commands Are Used

Symptoms

When the PowerShell command docker version is deployed on a host that does not have Docker installed, the deployment is successful, but the log shows that Docker is not installed.

Cause Analysis

The Windows host has an error correction mechanism when deploying the action Run PowerShell Commands. Therefore, the deployment will not fail. However, the log shows that no Docker service is available.

Solution

Install the Docker service on the host and run the PowerShell command again.