Skip to contents

This function provides a comprehensive report of the Docker environment including installation status, version information, daemon status, permissions, resource usage, and port availability. It helps identify issues with Docker setup that might affect containerizing Shiny applications.

Usage

sitrep_docker(
  check_ports = TRUE,
  verbose = FALSE,
  timeout = 30,
  port_timeout = 2,
  ...
)

Arguments

check_ports

Logical. If TRUE, check common port conflicts. Default: TRUE.

verbose

Logical. If TRUE, provide more detailed output. Default: FALSE.

timeout

Numeric. Timeout in seconds for Docker commands. Default: 30.

port_timeout

Numeric. Timeout in seconds for port checking. Default: 2.

...

Additional arguments passed to processx.

Value

Invisibly returns a list with Docker environment diagnostic results.

Examples

if (FALSE) { # \dontrun{
# Basic Docker environment report
sitrep_docker()

# Detailed Docker environment report
sitrep_docker(verbose = TRUE)

# Skip port checking
sitrep_docker(check_ports = FALSE)

# Use shorter timeout for port checking
sitrep_docker(port_timeout = 1)
} # }