docker-composer

ContainerDetector

Detects whether the current Composer process is already containerized.

Table of Contents

Methods

isInsideContainer()  : bool
Checks the current container execution state.

Methods

isInsideContainer()

Checks the current container execution state.

public isInsideContainer() : bool
Return values
bool

Returns true when the process appears to run inside a container.


        
On this page

Search results