CiscoLive-BRKDEV2291

Jenkins Plugins

Jenkins docker container

docker run -p 8080:8080 -p 50000:50000 -v /Users/saukotha/jenkins-set-up/jenkins_home:/var/jenkins_home jenkins/jenkins:lts

Expose docker desktop on port 2375

docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:2375:2375 bobrik/socat TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock

Show running containers

docker ps --format "table {{.Image}}\t\t{{.State}}\t\t{{ .Status }}"