Skip to content

Instantly share code, notes, and snippets.

View philpodlevsky's full-sized avatar

Phil Podlevsky philpodlevsky

View GitHub Profile
#!/bin/bash
# Based on https://github.com/onejli/docker-vpn-helper
# Added support for virtio network driver, NAT DNS resolver, and insecure registries.
# Change line 47 to either point to your insecure registry or delete the
# "--engine-insecure-registry <insecure registry name>:5000" parameter.
#TODO Be nice and accept these as cmd line args...
if [ -z "$B2D_MACHINE_NAME" ]; then