Hello,

What does Jenkins need to run jobs in a Docker container? I know that the
jenkinsci/slave Docker image works, but if I want to create a new image
based off of a different origin, what process, environment variables, etc
need to be running?

This would be using the "Docker Attach" methodology, but I assume the list
is similar for SSH (minus the SSH server).

For example, looks like it needs:
* openjdk 8
* a Jenkins user/group
* slave.jar at /usr/share/jenkins/slave.jar
* /home/jenkins/.jenkins
* /home/jenkins/agent
* WORKDIR set to /home/jenkins
* ENV AGENT_WORKDIR set to /home/jenkins/agent

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJGGFMZ-8Pm35%3DYqyd08qusU1PB7KcgBKo1tktb1RU%2BbkdGhUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to