Permalink
Browse files

Adding Google DNS to startup - allows dns resolution from inside the …

…container.
  • Loading branch information...
darron committed Jan 28, 2014
1 parent 3038d96 commit 1872e8302b799147e45c9615c17736264d255084
Showing with 2 additions and 2 deletions.
  1. +1 −1 metadata.rb
  2. +1 −1 templates/default/docker.erb
View
@@ -4,7 +4,7 @@
maintainer_email 'darron@froese.org'
license 'Apache 2.0'
description 'Installs/configures docker'
-version '0.3.0'
+version '0.4.0'
recipe 'docker::default', 'Installs/configures docker'
depends 'apt'
@@ -4,7 +4,7 @@
#DOCKER="/usr/local/bin/docker"
# Use DOCKER_OPTS to modify the daemon startup options.
-DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"
+DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock -dns 8.8.8.8 -dns 8.8.4.4"
# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy=http://127.0.0.1:3128/

0 comments on commit 1872e83

Please sign in to comment.