Execute a command within a docker container

docker_exec(host = localhost, container = NULL, ...)

Arguments

host
A host object.
container
The running container to execute within
...
Other arguments passed to the SSH command for the host

Value

The host object.

Examples

## Not run: ------------------------------------ # docker_exec(localhost, "container-id" ,"echo foo") ## ---------------------------------------------