fly-apps/docker-entrypoint.d/docker

12 lines
229 B
Plaintext
Raw Normal View History

2021-06-24 14:22:54 +00:00
#!/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!"