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

feita há 5 anos483 visualizações
1 Resposta
1
Resposta aceita

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

sudo chmod 777 /var/run/docker.sock

respondido há 5 anos
profile picture
ESPECIALISTA
avaliado há 21 horas
profile picture
ESPECIALISTA
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas