mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #1312 from titanous/vagrant-bind
Bind daemon to 0.0.0.0 in Vagrant
This commit is contained in:
commit
bfdf1839e0
1 changed files with 2 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -20,6 +20,8 @@ Vagrant::Config.run do |config|
|
||||||
pkg_cmd = "apt-get update -qq; apt-get install -q -y python-software-properties; " \
|
pkg_cmd = "apt-get update -qq; apt-get install -q -y python-software-properties; " \
|
||||||
"add-apt-repository -y ppa:dotcloud/lxc-docker; apt-get update -qq; " \
|
"add-apt-repository -y ppa:dotcloud/lxc-docker; apt-get update -qq; " \
|
||||||
"apt-get install -q -y lxc-docker; "
|
"apt-get install -q -y lxc-docker; "
|
||||||
|
# Listen on all interfaces so that the daemon is accessible from the host
|
||||||
|
pkg_cmd << "sed -i -E 's| /usr/bin/docker -d| /usr/bin/docker -d -H 0.0.0.0|' /etc/init/docker.conf;"
|
||||||
# Add X.org Ubuntu backported 3.8 kernel
|
# Add X.org Ubuntu backported 3.8 kernel
|
||||||
pkg_cmd << "add-apt-repository -y ppa:ubuntu-x-swat/r-lts-backport; " \
|
pkg_cmd << "add-apt-repository -y ppa:ubuntu-x-swat/r-lts-backport; " \
|
||||||
"apt-get update -qq; apt-get install -q -y linux-image-3.8.0-19-generic; "
|
"apt-get update -qq; apt-get install -q -y linux-image-3.8.0-19-generic; "
|
||||||
|
|
Loading…
Add table
Reference in a new issue