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.
sudoers
file using sudo Visudo
jenkins
name try to change default user in jenkin
shellTomcat
user name form ubuntuI was knowing it is only permission issue but i was stuck on user permission of shell
change to jenkin shell default user
sudo chmod 777 /var/run/docker.sock