69550/how-to-create-customize-jenkins-image-in-docker
Hi Guys,
I want to create one cluster of Jenkins. So I am trying to implement this task on Docker. Can anyone help me, how can I create Jenkins image?
Hi@akhtar,
You can pull Jenkins image from docker hub. But if you want to create a customize image of Jenkins, you can use Dockerfile. Here I have attached one Dockerfile for your reference.
FROM centos:7 RUN yum install wget -y RUN yum install java-11-openjdk.x86_64 -y RUN wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo RUN rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key RUN yum install jenkins -y RUN yum install /usr/sbin/service -y EXPOSE 8080 RUN yum install sudo -y RUN echo "jenkins ALL=(ALL) NOPASWD: ALL" >> /etc/sudoers RUN yum install iptables -y ENTRYPOINT service jenkins restart && bash
Hope this will help.
Apparently, the problem would be in your ...READ MORE
Try this: kubectl get storageclass gives output as ...READ MORE
Look for what all images you have ...READ MORE
You can use docker load command inorder to get ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
To solve this problem, I followed advice ...READ MORE
Hi@akhtar, There are two ways to create docker ...READ MORE
Hi@akhtar, In Docker, a secret is any blob ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.