mirror of https://github.com/docker/docs.git
Modified docker cli to use proper shell
This commit is contained in:
parent
30ec88d918
commit
dedf1d61a7
|
|
@ -156,7 +156,7 @@ var DockerMachine = {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
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 $SHELL`];
|
var cmd = [resources.terminal(), `DOCKER_HOST=${machine.url} DOCKER_CERT_PATH=${path.join(util.home(), '.docker/machine/machines/' + machine.name)} DOCKER_TLS_VERIFY=1 /bin/bash`];
|
||||||
util.exec(cmd).then(() => {});
|
util.exec(cmd).then(() => {});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue