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:

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

Jul 19, 2018 in Docker by Nilesh
• 7,040 points

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

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,680 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
• 52,370 points
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
• 7,040 points
+2 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
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,680 points
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,680 points