How to solve Docker permission error when trigger by Jenkins

前端 未结 3 829
闹比i
闹比i 2020-12-16 10:46

My Jenkins is not run in Docker container, just tradional install to VPS. I got the following error when executing a simple test project. I am using Ubuntu 14, java 7, and s

3条回答
  •  太阳男子
    2020-12-16 11:26

    Running

    sudo usermod -aG docker jenkins
    

    and then

    sudo service jenkins restart
    

    worked perfectly for me.

提交回复
热议问题