docker.pull: Use docker to pull image

Description Usage Arguments Value Examples

View source: R/docker.R

Description

Use docker to pull image

Usage

1
2
docker.pull(repo, name, version = NULL, docker.bin = NULL,
  all.tags = FALSE, disable.content.trust = TRUE, verbose = TRUE)

Arguments

repo,

Repository name of docker hub, e.g life2cloud

name

Software name, e.g bwa

version

Image version

docker.bin

Docker executable file, default is 'docker' in $PATH

all.tags

Download all tagged images in the repository

disable.content.trust

Skip image verification (default true)

verbose

Ligical indicating wheather show the log message

Value

Bool Value

Examples

1
2
3
4
docker.bin <- unname(Sys.which('docker'))
if (docker.bin != '') {
  docker.pull(repo = 'learn', name = 'tutorial')
}

BioInstaller documentation built on May 1, 2019, 11:17 p.m.