File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -249,9 +249,12 @@ export class DockerodeClient implements DockerClient {
249249 } else {
250250 try {
251251 const unixSocketPath = "/var/run/docker.sock" ;
252+ log . debug ( `Socket path not provided, looking for ${ unixSocketPath } ` ) ;
252253 await fs . promises . access ( unixSocketPath ) ;
254+ log . debug ( `Socket found` ) ;
253255 return unixSocketPath ;
254256 } catch {
257+ log . debug ( `Socket not found` ) ;
255258 return undefined ;
256259 }
257260 }
Original file line number Diff line number Diff line change @@ -38,8 +38,10 @@ export class Reaper {
3838 const socketPath = await dockerClient . getSocketPath ( ) ;
3939
4040 if ( socketPath ) {
41+ log . debug ( `Mounting socket into Reaper: ${ socketPath } ` ) ;
4142 container . withBindMount ( socketPath , "/var/run/docker.sock" ) ;
4243 } else if ( process . env . DOCKER_HOST ) {
44+ log . debug ( `Setting DOCKER_HOST into Reaper: ${ socketPath } ` ) ;
4345 container . withEnv ( "DOCKER_HOST" , process . env . DOCKER_HOST ) ;
4446 }
4547
You can’t perform that action at this time.
0 commit comments