Fork me on GitHub

Docker

Mac OS中Docker开启Remote Api

运行以下容器后,在Mac中就可以使用Remote Api1docker run --name docker-api -d -v /var/run/docker.sock:/var/run/docker.sock -p 2376:2375 bobrik/socat TCP4-LISTEN:2375,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock

在Docker中运行Jenkins

下载镜像 1docker pull jenkins/jenkins:lts 创建/Users/blant/work/docker/jenkins_home/data/log.properties 1vi /Users/blant/work/docker/jenkins_home/data/log.properties log.properties内容 123handlers=java.util.logging.ConsoleHandlerjenkins.le...