jenkins-swarm-docker icon indicating copy to clipboard operation
jenkins-swarm-docker copied to clipboard

how to edit /etc/hosts? what's the password of root?

Open gemlongman opened this issue 8 years ago • 0 comments

when use mirrors host,I have to use echo " 1.1.1.1 updates.jenkins-ci.org" >> /etc/hosts.But: bash: /etc/hosts: Permission denied jenkins@7c0069f40df1:/$ chmod 777 /etc/hosts chmod: changing permissions of ‘/etc/hosts’: Operation not permitted

when "su"

jenkins@7c0069f40df1:/$ su root Password: su: Authentication failure

gemlongman avatar Feb 15 '17 09:02 gemlongman