isInDocker property

bool get isInDocker

Indicates whether or not this process is running in our docker image

Implementation

static bool get isInDocker => Platform.environment.containsKey('IN_DOCKER');