Skip to content

Instantly share code, notes, and snippets.

Anderson de Vasconcelos Sant'Ana andersonVSA

Block or report user

Report or block andersonVSA

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andersonVSA
andersonVSA / configure_docker0.sh
Created Feb 27, 2017 — forked from kamermans/configure_docker0.sh
Change the IP subnet of Docker's docker0 interface
View configure_docker0.sh
#!/bin/sh -e
#
# You can run this script directly from github as root like this:
# curl -sS https://gist.githubusercontent.com/kamermans/94b1c41086de0204750b/raw/configure_docker0.sh | sudo bash -s - 192.168.254.1/24
#
# * Make sure you replace "192.168.254.0/24" with the network that you want to use
#
# NOTE: This script is intended for Debian / Ubuntu only!
if [ $# -lt 1 ]; then
You can’t perform that action at this time.