forked from snxraven/peardock
17 lines
401 B
JavaScript
17 lines
401 B
JavaScript
/**
|
|
* Stub: dockerode optionally loads ssh2 for remote Docker hosts.
|
|
* peardock server only uses the local socket — ssh2 is never required at runtime.
|
|
*/
|
|
'use strict'
|
|
class Client {
|
|
connect() {
|
|
throw new Error('ssh2 is not available in peardock standalone (local Docker socket only)')
|
|
}
|
|
on() {
|
|
return this
|
|
}
|
|
end() {}
|
|
}
|
|
module.exports = { Client }
|
|
module.exports.Client = Client
|