Skip to content

Instantly share code, notes, and snippets.

@jeffbrl
Created July 22, 2014 00:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffbrl/03ebc4e59402d34b7d29 to your computer and use it in GitHub Desktop.
Save jeffbrl/03ebc4e59402d34b7d29 to your computer and use it in GitHub Desktop.
One time configuration of DigitalOcean droplet for IPv6 connectivity in docker containers
#!/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