Docker Community Forums

Share and learn in the Docker community.

Jenkins and docker continue integration bug '/ usr / bin / docker: line 2: / etc / sysconfig / docker: No such file or directory'


(Zcjhwl) #1

Generate jenkins image based on dockerfile,

docker run -d 8080 8080 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
docker exec -it jenkins /bin/bash
docker ps -a

bug: / usr / bin / docker: line 2: / etc / sysconfig / docker: No such file or directory