操作系统信息
vm Sphere,ubuntu 24.04

Kubernetes 版本信息
Kubernates V1.27.4

容器运行时

Docker 版本 24.0.6,构建版 ed223bc
crictl 版本 v1.24.0

KubeSphere 版本信息
Kubesphere V4.1.2

问题出在哪里
大家好,我刚刚在 Kubesphere V4.1.2 中添加了 devops extentations,我想使用 ci/cd 管道,但是当我尝试运行 "docker build "时出现了错误。

$$

  • docker build -f Dockerfile-online -t docker.io/docker_username/devops-java-sample:SNAPSHOT–1 . /home/jenkins/agent/workspace/test3kng5g/test6@tmp/durable-70e59232/script.sh: line 1: docker: command not found script returned exit code 127.
    $$

有人有解决这个问题的办法吗?

Sorry, i’m using translation for this forum.