docker_inspect function

Inspect one or more containers, given name(s) or ID(s).

Inspect one or more containers, given name(s) or ID(s).

docker_inspect(host = localhost, names = NULL, ...)

Arguments

  • host: A host object.
  • names: Names of the containers
  • ...: Other arguments passed to the SSH command for the host

Returns

A list of lists, where each sublist represents one container. This is the output of docker inspect translated directly from raw JSON to an R object.

Examples

## Not run: docker_run(localhost, "debian:testing", "echo foo", name = "harbor-test") docker_inspect(localhost, "harbor-test") ## End(Not run)

Author(s)

Winston Change winston@stdout.org