Hello team,
i have added privilege in the stack file but docker is running in non - privileged mode and getting below warning.
Ignoring unsupported options: privileged
Can you please advise how to add privilege in the docker stack yaml file.
Code:
version: '3.7'
services:
main:
image: bitroid/bitroidjenkins:stable
privileged: true
ports:
- 8080:8080
- 50000:50000
secrets:
- jenkins-user
- jenkins-pass
secrets:
jenkins-user:
file: ./jenuser
jenkins-pass:
file: ./jenpass