mirror of https://github.com/docker/docs.git
Fixing boot2docker call in removeBindFolder
This commit is contained in:
parent
fff85a1d94
commit
e3e1380ffa
|
@ -161,7 +161,7 @@ Docker.removeImage = function (imageId, callback) {
|
|||
};
|
||||
|
||||
Docker.removeBindFolder = function (name, callback) {
|
||||
exec(path.join(Util.getBinDir(), 'boot2docker') + ' ssh "sudo rm -rf /var/lib/docker/binds/' + name + '"', function (err, stdout) {
|
||||
exec(Boot2Docker.command() + ' ssh "sudo rm -rf /var/lib/docker/binds/' + name + '"', function (err, stdout) {
|
||||
callback(err, stdout);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue