File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,17 @@ export class DockerClientFactory {
2525
2626 private static async getHost ( dockerode : Dockerode ) : Promise < Host > {
2727 const modem = dockerode . modem ;
28+ const socketPath = modem . socketPath ;
2829
2930 if ( process . env . DOCKER_HOST ) {
3031 log . info ( `Detected DOCKER_HOST environment variable: ${ process . env . DOCKER_HOST } ` ) ;
3132 }
3233
3334 if ( modem . host ) {
3435 const host = modem . host ;
35- log . info ( `Using Docker host from modem: ${ host } ` ) ;
36+ log . info ( `Using Docker host from modem: ${ host } , socket path: ${ socketPath } ` ) ;
3637 return host ;
3738 } else {
38- const socketPath = modem . socketPath ;
3939 if ( ! fs . existsSync ( "/.dockerenv" ) ) {
4040 const host = "localhost" ;
4141 log . info ( `Using default Docker host: ${ host } , socket path: ${ socketPath } ` ) ;
You can’t perform that action at this time.
0 commit comments