sp_docker_run.Rd
Creates a container and runs an image in it.
sp_docker_run(image_tag, options = "", command = "", args = "")
image_tag | character: a valid image tag (name) for the docker image. If
it doesn't exist locally, Note that the full syntax of an image tag is |
---|---|
options | character: the options to use when running the image. Default
is the empty string. You will usually need at least the |
command | character: the command to run after the container boots up. Default is an empty string, which uses the startup command defined in the image. |
args | character: the arguments for the command. Default is an empty string. |
Result of Docker command if it succeeded. Stops with an error message if it failed.
Do docker run --help
in a command prompt to see all the options,
of which there are many.