Skip to content

Instantly share code, notes, and snippets.

@josehenriqueventura
Last active March 23, 2016 21:30
Show Gist options
  • Save josehenriqueventura/601ab48380cfe845c401 to your computer and use it in GitHub Desktop.
Save josehenriqueventura/601ab48380cfe845c401 to your computer and use it in GitHub Desktop.
/etc/default/docker
# Docker Upstart and SysVinit configuration file
# Customize location of Docker binary (especially for development testing).
#DOCKER="/usr/local/bin/docker"
# Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 -g /home/user/docker -H tcp://0.0.0.0:2376 -H unix://var/run/docker.sock"
# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://127.0.0.1:3128/"
# This is also a handy place to tweak where Docker's temporary files go.
#export TMPDIR="/mnt/bigdrive/docker-tmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment