install: Install a docker image on your local machine

View source: R/manager.R

installR Documentation

Install a docker image on your local machine

Description

Install a docker image on your local machine

Usage

install(repository, tag, quiet = FALSE, all_tags = FALSE)

Arguments

repository

'character(1)', repository name of the docker image.

tag

'character(1)', tag of the docker image.

quiet

'logical(1)', if TRUE suppress verbose output generated from the download.

all_tags

'logical(1)', pull all the tags of the image

Details

The function works similar to the 'docker pull' command. It downloads a docker image from Dockerhub on to the local machine, in a place which the docker engine knows about, building your local registry of docker images.

Value

invisible

Examples


do_it <- BiocDockerManager:::.is_docker_installed()

if (do_it) {
    BiocDockerManager::install(
        repository = "bioconductor/bioconductor_docker",
        tag = "latest"
    )
}


nturaga/BiocDockerManager documentation built on Aug. 31, 2022, 3:21 p.m.