prune_container: Remove Specific Docker Containers
Description
This function stops and removes the Docker containers used
for rendering the R Markdown document based on the output
YAML file from the (possibly unsuccessful) rendering process.
Usage
prune_container(input_yml)
purge_container()
Arguments
input_yml
The YAML file path (output of render_docker)
when prune_info = TRUE which stores the information of the Docker
container to be stopped and removed. If not specified, will prune all
dangling containers.