Slave image does not support running docker

0 votes

I'm using the Kubernetes Jenkins plugin to arrange jenkins slaves

I want to run all the jobs in Docker

I am using the jenkinsci/jnlp-slave from here:

hub.docker.com/r/jenkinsci/jnlp-slave/

the slave image doesn't appear to support running docker. How do I fix this?

Jul 19, 2018 in Docker by Nilesh
• 6,880 points
446 views

1 answer to this question.

0 votes

You need to install docker client and mount the docker socket so you can access the Docker host. Then you can interact with that Docker host

https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/https://github.com/jenkinsci/docker-workflow-plugin/tree/master/demo

Also set the container name a jnlp so that it does not creates another container inside the pot.

answered Jul 19, 2018 by Kalgi
• 2,620 points

Related Questions In Docker

0 votes
1 answer

Brew install docker does not include docker engine?

Please try running brew install docker This will install ...READ MORE

answered Jul 30, 2018 in Docker by Kalgi
• 40,440 points
85 views
0 votes
2 answers

Why is docker image eating up my disk space that is not used by docker

Move the /var/llib/docker directory. Assuming the /root directory has enough ...READ MORE

answered Aug 6, 2018 in Docker by Nilesh
• 6,880 points
141 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 40,440 points
61 views
0 votes
1 answer

How to store data in external drive with Docker Postgres:9.3 image?

Apparently, the problem would be in your ...READ MORE

answered Jul 12, 2018 in Docker by Kalgi
• 2,620 points
116 views
0 votes
1 answer

Error “unable to resolve host docker”

This error occurs because its not a ...READ MORE

answered Jul 10, 2018 in Docker by Kalgi
• 2,620 points
318 views