brctl addbr dockbr0 ip a add 172.16.0.1/24 dev dockbr0 ip link set dockbr0 up
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 python | |
from __future__ import print_function | |
import requests | |
def merge_prefixes(payload): | |
""" | |
Converts the AWS services JSON payload into a list of tuples. | |
Arguments: |
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
NameVirtualHost IP:80 | |
<VirtualHost IP:80> | |
ServerName local.bhg.com | |
RequestHeader set X-Forwarded-Proto https | |
RewriteRule ^(/.*)?$ http://localhost:9094$1 [P] | |
ProxyPassReverse / http://localhost:9094/ | |
</VirtualHost> |
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 | |
# | |
# Creates a tarsnap backup of all files we can't reasonably expect to get back | |
# from pacman. Files matching these conditions are included: | |
# | |
# 1. located in /etc and not owned by any package | |
# 2. owned by a package and modified since installation | |
# Create temporary space | |
INCLUDES=$(mktemp) |
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
when HTTP_REQUEST { | |
# Initialize the hex string variable | |
set hex "" | |
# Loop to create 8 random bytes | |
for {set i 0} {$i<8} {incr i} { | |
# Create a byte from the PRNG | |
set byte [expr { int(rand() * 256) }] |
Quick rundown of my experience with moby/moby#97
The docker binary is built with the development environment instructions in the README. I move the binary into /usr/local/bin in the vagrant vm and restart the dockerd service.
All is well until I start a container with port forwarding like so. Any image, any port, and any command seem to cause the problem.
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
# Parallelization | |
CORES?=1 | |
# Configure Command | |
PREFIX?=/usr/local | |
AS=${PREFIX}/bin/as | |
LD=${PREFIX}/bin/ld | |
CPPFLAGS=-I${PREFIX}/include | |
LDFLAGS=-L${PREFIX}/lib:/usr/lib -R${PREFIX}/lib:/usr/lib -lsocket | |
CONFIGURE=./configure --prefix=${PREFIX} |
NewerOlder