kubesphere / kubesphere/website
Built-in podTemplate - issue with docker
- Dominant language
- SCSS
- Stars
- 97
- Forks
- 418
- PR merge metrics
- No merged PRs in 30d
Description
Hello
I am trying to build docker image using base built-in podTemplate.
At the end of the Dockerfile I need to specify secret file (in jenkins docker build --secret), but the --secret flag not recognized. For that I need newer version of docker.
When I am checking docker version, it gives me 3.0.1
But as I looked in documentations, base image must have 18.06.0 version.

This is simple Jenkinsfile that I am using to check the docker version
```
pipeline {
agent {
label 'base'
}
stages {
stage('Build Docker Image') {
steps{
container ('base') {
sh 'docker --version'
}
}
}
}
}
```
Am I missing something? Or maybe there is issue with podTemplate?
Environment:
1 Control Plane and 2 worker nodes
Kubernetes Version: 1.29
Kubesphere Version: 3.4.1
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the provided Jenkinsfile in the built-in podTemplate and checking the reported Docker version against the documented requirement. Determine whether the outdated Docker version comes from the base image or the podTemplate, and confirm that the issue is resolved by identifying the correct source or documenting the required correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, kubernetes
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100