Created
July 22, 2014 00:02
-
-
Save jeffbrl/03ebc4e59402d34b7d29 to your computer and use it in GitHub Desktop.
One time configuration of DigitalOcean droplet for IPv6 connectivity in docker containers
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 | |
# | |
# Jeff Loughridge | |
# July 2014 | |
# jeffl at brooksconsulting-llc.com | |
# enable IPv6 forwarding and ND proxying | |
echo net.ipv6.conf.all.proxy_ndp=1 >> /etc/sysctl.conf | |
echo net.ipv6.conf.all.forwarding=1 >> /etc/sysctl.conf | |
sudo sysctl -p /etc/sysctl.conf | |
# install LXC | |
sudo apt-get install -y lxc | |
# use the LXC driver | |
echo DOCKER_OPTS=\"--exec-driver=lxc\" >> /etc/default/docker | |
service docker restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment