listen on unix socket on Digital Ocean hosts

Signed-off-by: Andy Shinn <andys@andyshinn.as>
This commit is contained in:
Andy Shinn 2015-01-09 19:23:13 -06:00
parent e1da47b7ca
commit db5147e04f
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ func (d *Driver) Create() error {
log.Debugf("Updating /etc/default/docker to use identity auth...")
cmd, err = d.GetSSHCommand("echo 'export DOCKER_OPTS=\"--auth=identity --host=tcp://0.0.0.0:2376\"' >> /etc/default/docker")
cmd, err = d.GetSSHCommand("echo 'export DOCKER_OPTS=\"--auth=identity --host=tcp://0.0.0.0:2376 --host=unix:///var/run/docker.sock\"' >> /etc/default/docker")
if err != nil {
return err
}