dockerstats_available: Is docker stats available?

Description Usage Value Examples

View source: R/available.R

Description

This function tries to lauch docker stats on the machine. If the status code return by this command is not 0 (success), this function will print a message and return FALSE. If the return code is 0, this function invisibly return TRUE.

Usage

1

Value

invisible(TRUE) if system("docker stats") return 0, invisible(FALSE) otherwise.

Examples

1
2
3

ColinFay/dockerstats documentation built on May 18, 2020, 11:54 a.m.