This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "bridge", | |
"type": "bridge", | |
"bridge": "docker-sys", | |
"isDefaultGateway": true, | |
"ipMasq": true, | |
"hairpinMode": true, | |
"ipam": { | |
"type": "host-local", | |
"subnet": "10.255.12.1/25" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rancher: | |
system_docker: | |
extra_args: | |
- "--bip=10.255.48.1/24" | |
docker: | |
engine: docker-1.13.1 | |
live_restore: true | |
selinux_enabled: true | |
storage_driver: overlay2 | |
extra_args: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
/* | |
Fairly self explanatory if you look at the options in the UI. | |
Main thing to note is the JENKINS_MESOS_SLAVE_<number>. Anything with the same | |
number will be associated together option wise. | |
For things like JENKINS_MESOS_SLAVE_<number>_VOL_<number> The trailing | |
number just signifies more than one. | |
--Available Environment Variables -- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//groovy.init | |
import org.jenkinsci.plugins.mesos.* | |
def slaveVols = [ | |
new MesosSlaveInfo.Volume( | |
containerPath="/usr/bin/docker", | |
hostPath="/usr/bin/docker", | |
readOnly=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit -o nounset -o pipefail | |
usage() { | |
cat << EOF | |
USAGE: | |
init-boot2docker.sh -p [path] -u [uid] -g [gid] | |
-p Path to the working directory you wish to mount. | |
-u The uid you wish to mount the working directory as. |
NewerOlder