# Missing docker on jenkins openshift slave

**URL:** <https://community.jenkins.io/t/missing-docker-on-jenkins-openshift-slave/8977>\
**Category:** Ask a question\
**Tags:** question, docker, pipeline\
**Created:** [August 10, 2023, 7:45am UTC](https://community.jenkins.io/t/missing-docker-on-jenkins-openshift-slave/8977 "2023-08-10T07:45:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeraNoxa](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@SeraNoxa](https://community.jenkins.io/u/SeraNoxa)\
**Post date:** [August 10, 2023, 7:45am UTC](https://community.jenkins.io/t/missing-docker-on-jenkins-openshift-slave/8977/1 "2023-08-10T07:45:42Z")

</div>

Hi, my company has gotten an request to migrate a normal jenkins server and slaves to Openshift Jenkins. But getting the pipelines up and running is a huge issue but we’ve slowly been on the right track of progress, but now we have come to the following error:

```auto
java.io.IOException: Cannot run program "docker": error=2, No such file or directory

```

From what i’ve been able to figure out this is because the openshift slaves dont come with docker installed on them, so when it tries to create a container with docker, it fails..  
I’ve searched the redhat forums but haven’t been able to find any information regarding this. So it would require all the current pipelines to be re written to match openshift jenkins. This is a big problem for our client, and i can fully understand that, so i’m hoping anyone here might have some knowledge on how to get docker enabled on a openshift jenkins agent..

> **OS Information and plugins**
>
> ## Jenkins: 2.401.1 OS: Linux - 4.18.0-372.59.1.el8\_6.x86\_64 Java: 11.0.19 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
> 
> ace-editor:1.1  
> ansicolor:1.0.2  
> ant:487.vd79d090d4ea\_e  
> antisamy-markup-formatter:159.v25b\_c67cd35fb\_  
> apache-httpcomponents-client-4-api:4.5.14-150.v7a\_b\_9d17134a\_5  
> apache-httpcomponents-client-5-api:5.2.1-1.0  
> authentication-tokens:1.53.v1c90fd9191a\_b\_  
> blueocean:1.27.4  
> blueocean-autofavorite:1.2.5  
> blueocean-bitbucket-pipeline:1.27.4  
> blueocean-commons:1.27.4  
> blueocean-config:1.27.4  
> blueocean-core-js:1.27.4  
> blueocean-dashboard:1.27.4  
> blueocean-display-url:2.4.2  
> blueocean-events:1.27.4  
> blueocean-git-pipeline:1.27.4  
> blueocean-github-pipeline:1.27.4  
> blueocean-i18n:1.27.4  
> blueocean-jwt:1.27.4  
> blueocean-personalization:1.27.4  
> blueocean-pipeline-api-impl:1.27.4  
> blueocean-pipeline-editor:1.27.4  
> blueocean-pipeline-scm-api:1.27.4  
> blueocean-rest:1.27.4  
> blueocean-rest-impl:1.27.4  
> blueocean-web:1.27.4  
> bootstrap5-api:5.3.0-1  
> bouncycastle-api:2.28  
> branch-api:2.1105.v472604208c55  
> caffeine-api:3.1.6-115.vb\_8b\_b\_328e59d8  
> checks-api:2.0.0  
> cloud-stats:302.v45b\_647b\_90608  
> cloudbees-bitbucket-branch-source:805.v7f97d29dc0f5  
> cloudbees-folder:6.815.v0dd5a\_cb\_40e0e  
> command-launcher:100.v2f6722292ee8  
> commons-lang3-api:3.12.0-36.vd97de6465d5b\_  
> commons-text-api:1.10.0-36.vc008c8fcda\_7b\_  
> conditional-buildstep:1.4.2  
> config-file-provider:938.ve2b\_8a\_591c596  
> configuration-as-code:1647.ve39ca\_b\_829b\_42  
> configuration-as-code-groovy:1.1  
> credentials:1271.v54b\_1c2c6388a\_  
> credentials-binding:604.vb\_64480b\_c56ca\_  
> data-tables-api:1.13.4-1  
> display-url-api:2.3.7  
> docker-commons:419.v8e3cd84ef49c  
> docker-java-api:3.3.1-79.v20b\_53427e041  
> docker-plugin:1.4  
> docker-workflow:563.vd5d2e5c4007f  
> durable-task:507.v050055d0cb\_dd  
> echarts-api:5.4.0-5  
> email-ext:2.97  
> envinject:2.908.v66a\_774b\_31d93  
> envinject-api:1.199.v3ce31253ed13  
> favorite:2.4.2  
> font-awesome-api:6.4.0-1  
> git:5.0.2  
> git-client:4.3.0  
> git-server:99.va\_0826a\_b\_cdfa\_d  
> github:1.37.1  
> github-api:1.314-431.v78d72a\_3fe4c3  
> github-branch-source:1725.vd391eef681a\_e  
> google-oauth-plugin:1.0.8  
> groovy:453.vcdb\_a\_c5c99890  
> handy-uri-templates-2-api:2.1.8-22.v77d5b\_75e6953  
> htmlpublisher:1.31  
> http\_request:1.18  
> instance-identity:142.v04572ca\_5b\_265  
> ionicons-api:56.v1b\_1c8c49374e  
> jackson2-api:2.15.2-350.v0c2f3f8fc595  
> jakarta-activation-api:2.0.1-3  
> jakarta-mail-api:2.0.1-3  
> javadoc:233.vdc1a\_ec702cff  
> javax-activation-api:1.2.0-6  
> javax-mail-api:1.6.2-9  
> jaxb:2.3.8-1  
> jdk-tool:66.vd8fa\_64ee91b\_d  
> jenkins-design-language:1.27.4  
> jersey2-api:2.39.1-2  
> jira:3.10  
> jjwt-api:0.11.5-77.v646c772fddb\_0  
> job-dsl:1.84  
> jquery3-api:3.7.0-1  
> jsch:0.2.8-65.v052c39de79b\_2  
> junit:1207.va\_09d5100410f  
> kubernetes:3937.vd7b\_82db\_e347b\_  
> kubernetes-client-api:6.4.1-215.v2ed17097a\_8e9  
> kubernetes-credentials:0.10.0  
> lockable-resources:1156.v5e9f897ece02  
> mailer:457.v3f72cb\_e015e5  
> mapdb-api:1.0.9-28.vf251ce40855d  
> matrix-auth:3.1.8  
> matrix-project:789.v57a\_725b\_63c79  
> maven-plugin:3.22  
> mercurial:1260.vdfb\_723cdcc81  
> metrics:4.2.18-438.v0ede325a\_4c68  
> mina-sshd-api-common:2.10.0-69.v28e3e36d18eb\_  
> mina-sshd-api-core:2.10.0-69.v28e3e36d18eb\_  
> momentjs:1.1.1  
> oauth-credentials:0.645.ve666a\_c332668  
> okhttp-api:4.11.0-145.vcb\_8de402ef81  
> openshift-client:1.1.0.413.v3023d27e8434  
> openshift-login:1.1.0.227.v27e08dfb\_1a\_20  
> openshift-sync:1.1.0.790.v2051fca\_5ed8d  
> pam-auth:1.10  
> parameterized-trigger:2.45  
> pipeline-build-step:491.v1fec530da\_858  
> pipeline-graph-analysis:202.va\_d268e64deb\_3  
> pipeline-groovy-lib:656.va\_a\_ceeb\_6ffb\_f7  
> pipeline-input-step:468.va\_5db\_051498a\_4  
> pipeline-milestone-step:111.v449306f708b\_7  
> pipeline-model-api:2.2133.ve46a\_6113dfc3  
> pipeline-model-definition:2.2133.ve46a\_6113dfc3  
> pipeline-model-extensions:2.2133.ve46a\_6113dfc3  
> pipeline-rest-api:2.32  
> pipeline-stage-step:305.ve96d0205c1c6  
> pipeline-stage-tags-metadata:2.2133.ve46a\_6113dfc3  
> pipeline-stage-view:2.32  
> pipeline-utility-steps:2.15.4  
> plain-credentials:143.v1b\_df8b\_d3b\_e48  
> plugin-util-api:3.3.0  
> prometheus:2.2.3  
> pubsub-light:1.17  
> resource-disposer:0.22  
> run-condition:1.5  
> scm-api:672.v64378a\_b\_20c60  
> script-security:1251.vfe552ed55f8d  
> snakeyaml-api:1.33-95.va\_b\_a\_e3e47b\_fa\_4  
> sse-gateway:1.26  
> ssh-credentials:305.v8f4381501156  
> ssh-slaves:2.916.vd17b\_43357ce4  
> sshd:3.303.vefc7119b\_ec23  
> structs:324.va\_f5d6774f3a\_d  
> subversion:2.17.2  
> throttle-concurrents:2.14  
> timestamper:1.25  
> token-macro:359.vb\_cde11682e0c  
> trilead-api:2.84.v72119de229b\_7  
> variant:59.vf075fe829ccb  
> windows-slaves:1.8.1  
> workflow-api:1213.v646def1087f9  
> workflow-basic-steps:1017.vb\_45b\_302f0cea\_  
> workflow-cps:3673.v5b\_dd74276262  
> workflow-cps-global-lib:609.vd95673f149b\_b  
> workflow-durable-task-step:1247.v7f9dfea\_b\_4fd0  
> workflow-job:1308.v58d48a\_763b\_31  
> workflow-multibranch:746.v05814d19c001  
> workflow-remote-loader:1.6  
> workflow-scm-step:408.v7d5b\_135a\_b\_d49  
> workflow-step-api:639.v6eca\_cd8c04a\_a\_  
> workflow-support:839.v35e2736cfd5c  
> ws-cleanup:0.45
