mirror of https://github.com/docker/docs.git
Fix whale button on mac
This commit is contained in:
parent
642320a188
commit
c72c1a7cf6
|
@ -166,10 +166,9 @@ var DockerMachine = {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
cmd = cmd || '$SHELL';
|
cmd = cmd || process.env.SHELL;
|
||||||
this.info().then(machine => {
|
this.info().then(machine => {
|
||||||
var cmd = [resources.terminal(), `DOCKER_HOST=${machine.url} DOCKER_CERT_PATH=${path.join(util.home(), '.docker/machine/machines/' + machine.name)} DOCKER_TLS_VERIFY=1 ${cmd}`];
|
util.exec([resources.terminal(), `DOCKER_HOST=${machine.url} DOCKER_CERT_PATH=${path.join(util.home(), '.docker/machine/machines/' + machine.name)} DOCKER_TLS_VERIFY=1 ${cmd}`]).then(() => {});
|
||||||
util.exec(cmd).then(() => {});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue