Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #203 from ehazlett/listen-unix-ec2
Browse files Browse the repository at this point in the history
listen on socket in addition to tls for amazon driver
  • Loading branch information
ehazlett committed Jan 2, 2015
2 parents 3766273 + a9ff285 commit 5a3b491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/amazonec2/amazonec2.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,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 --auth-authorized-dir=/root/.docker/authorized-keys.d\"' | sudo tee -a /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 --auth-authorized-dir=/root/.docker/authorized-keys.d\"' | sudo tee -a /etc/default/docker")
if err != nil {
return err
}
Expand Down

0 comments on commit 5a3b491

Please sign in to comment.