Skip to content

Instantly share code, notes, and snippets.

@unakatsuo
Created March 13, 2019 12:01
Show Gist options
  • Save unakatsuo/5af19c9e646413b25955724630c906e7 to your computer and use it in GitHub Desktop.
Save unakatsuo/5af19c9e646413b25955724630c906e7 to your computer and use it in GitHub Desktop.
docker-ce-18.09 service file override
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd --icc=true --dns 8.8.8.8 -H fd://
# --icc=true: Set ACCEPT to the iptables forward chain policy.
# --dns=8.8.8.8: Avoid DNS error during docker build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment