On Bitnami's Jenkins Run Docker Commands in Jenkins shell ubuntu

0

I was trying to run docker during jenkins build rather then using docker plugin i was searching to run docker's command in shell.

bitnami jenkins use tomcat user and for ssh login it use bitnami default username.

I have purchased jenkins from bitnami on aws ec2. I was facing User permission issue and tried lots of solution & searched for 2 days.

I did changes in sudoers file using sudo Visudo
made new user with jenkins name try to change default user in jenkin shell
Removed Tomcat user name form ubuntu
I was knowing it is only permission issue but i was stuck on user permission of shell

已提問 5 年前檢視次數 484 次
1 個回答
1
已接受的答案

Just simple Do ssh login to instance
open terminal
change to jenkin shell default user

sudo chmod 777 /var/run/docker.sock

已回答 5 年前
profile picture
專家
已審閱 1 天前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南