jenkins container without root authority

By Laurence Chan

I run a docker container by

[root@compute maven]# docker run -d -p 8083:8080 –name jenkins -v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v /root/maven-tar/:/root csphere/jenkins:1.609
e40f704478e5e37ee3f214a1469f5851a78c324099610a12e79238b8599e194a

Then I get into the container by “docker exec”

[root@compute maven]# docker exec -it jenkins/bin/bash

jenkins@e40f704478e5:

I try run “docker ps”,it showes this

jenkins@09702cf98331:/$ docker ps

/usr/bin/docker: 2: .: Can’t open /etc/sysconfig/docker

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273