Checks that Docker daemon is running correctly on the local system, and that vol2bird Docker image is available.

check_docker(verbose = TRUE)

Arguments

verbose

logical. When TRUE messages are printed to R console.

Value

0 upon success, otherwise an error code: 1 if Docker vol2bird image not available, 2 if Docker daemon not running, 3 if Docker daemon not found.

Examples

if (FALSE) { # check if Docker is running and vol2bird image is available: check_docker() }