Description Usage Arguments Details Value See Also
Return a list class that describes a Docker container. The resulting class object comes with a series of convenience methods for starting, stopping and interacting with a container.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | container_init(pkgnm)
## S3 method for class 'container'
start(x)
## S3 method for class 'container'
halt(x)
## S3 method for class 'container'
exec(x, ...)
## S3 method for class 'container'
status(x)
## S3 method for class 'container'
copy(x, send = NULL, rtrn = NULL)
## S3 method for class 'container'
run(x, cmd, args)
|
pkgnm |
Package name |
x |
container |
... |
Arguments |
send |
Filepaths to send from host computer to container. |
rtrn |
Directory on host computer where returning files should be sent. |
cmd |
Command name, character |
args |
List or vector of arguments, character |
All outsider modules have a working_dir/
in which generated
files are created and initiation files must be for the program to use.
Files must be sent to this working directory and then returned before and
after the program has run.
If no send
or rtrn
specified, returns TRUE.
A list of class container
with the following items:
pkgnm |
Package name of the outsider module |
prgrm |
Command to be called in the container |
cntnr |
Unique Docker container name |
img |
Image ID |
Other private-docker:
docker_build()
,
docker_cmd()
,
docker_cp()
,
docker_img_rm()
,
docker_ps_count()
,
docker_pull()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.