Skip to contents

Is the R session running inside Docker?

Usage

isDocker()

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2021-01-04.

Examples

isDocker()
#> [1] FALSE