This file contains 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 | |
# 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 |