Skip to content

Instantly share code, notes, and snippets.

View mrbobbytables's full-sized avatar
:shipit:
E_TO_MANY_THINGS

Bob Killen mrbobbytables

:shipit:
E_TO_MANY_THINGS
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mrbobbytables on github.
  • I am mrbobbytables (https://keybase.io/mrbobbytables) on keybase.
  • I have a public key ASAH0FDJBZsdgQwrODh6qc900LeSTUJMk1Yix8Y8ZC4newo

To claim this, I am signing this object:

@mrbobbytables
mrbobbytables / bridge.conf
Created June 27, 2017 16:29
custom docker cni config
{
"name": "bridge",
"type": "bridge",
"bridge": "docker-sys",
"isDefaultGateway": true,
"ipMasq": true,
"hairpinMode": true,
"ipam": {
"type": "host-local",
"subnet": "10.255.12.1/25"
@mrbobbytables
mrbobbytables / config.yml
Created May 12, 2017 18:06
rancher system-docker
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:
@mrbobbytables
mrbobbytables / 100-mesos.groovy
Last active March 9, 2016 13:17
jenkins mesos dynamic config
#!/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 --
@mrbobbytables
mrbobbytables / jenkins-cloud.groovy
Last active November 26, 2015 10:31
jenkins-mesos-cloud
//groovy.init
import org.jenkinsci.plugins.mesos.*
def slaveVols = [
new MesosSlaveInfo.Volume(
containerPath="/usr/bin/docker",
hostPath="/usr/bin/docker",
readOnly=true
@mrbobbytables
mrbobbytables / init-boot2docker.sh
Created November 11, 2014 11:48
boot2docker OSX mount helper
#!/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.