12 lines
229 B
Plaintext
12 lines
229 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
echo "Setting up Docker data directory"
|
||
|
mkdir -p /data/docker
|
||
|
|
||
|
echo "Configuring ipv6 for docker"
|
||
|
ip6tables -t nat -A POSTROUTING -s 2001:db8:1::/64 ! -o docker0 -j MASQUERADE
|
||
|
|
||
|
echo "Done setting up docker!"
|