Description Usage Arguments Value
This functions allows to check whether a container is running. One can either look by name or by image. If name and image are specified, name condition is prioritized.
1 | is_running(name = NULL, image_src = NULL, quiet = T, return_logical = F)
|
name |
A string providing the name of a container, whose state should be checked |
image_src |
A string providing an image, from which derived containers should be checked |
quiet |
Should the function return a logical in case a container matching the condition is running |
If a name is given as input, the function returns a message indicating whether a container named according to the input is running.
If an image is given as input, the fucntion returns a message indicating the number of containers built on the input images are running.
If quiet is False, the function will also return a logical vector indicating whether the condition is fulfilled.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.