I get this error message when running a custom image based on jenkins/jenkins in docker swarm mode: Ignoring unsupported options: privileged
My custom image has blue ocean plugin installed. Here is the compose file:
version: "3.5"
services:
jenkins:
image: quay.io/shazchaudhry/docker-jenkins
user: root
privileged: true
environment:
- JENKINS_OPTS='--prefix=/jenkins'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- jenkins_home:/var/jenkins_home
secrets:
- jenkins-user
- jenkins-pass
volumes:
jenkins_home:
secrets:
jenkins-pass:
external: true
jenkins-user:
external: true
My Jenkinsfile / pipeline runs fine on Ubuntu but does not appear to work on RHEL 7.3 and complains docker: not found
. My environment is:
- RHEL Server release 7.3
- Docker version 17.12.0-ce
- Jenkins ver. 2.106
Has anyone got a jenkins pipeline working in docker swarm mode in RHEL 7.3?