Learn R Programming

googleComputeEngineR (version 0.1.0)

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

Description

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

Usage

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

Value

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

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

Run the code above in your browser using DataLab