docker_pull: Pull a docker image onto a host.

Description Usage Arguments Value Examples

Description

Pull a docker image onto a host.

Usage

1
2
docker_pull(host = harbor::localhost, image, docker_opts = NULL,
  capture_text = FALSE, ...)

Arguments

host

A host object.

image

The docker image to pull e.g. rocker/rstudio

docker_opts

Options to docker. These are things that come before the docker command, when run on the command line.

capture_text

If FALSE (the default), return the host object. This is useful for chaining functions. If TRUE``, capture the text output from both stdout and stderr, and return that. Note thatTRUE“ may not be available on all types of hosts.

...

Other arguments passed to the SSH command for the host

Value

The host object.

Examples

1
2
3
4
## Not run: 
docker_pull(localhost, "debian:testing")

## End(Not run)

wch/harbor documentation built on May 4, 2019, 2:02 a.m.