Push a Docker image to Docker Hub. Requires a user to have login details for Docker Hub, https://hub.docker.com/. Returns TRUE if no errors are raised.

docker_push(username, img, tag, verbose)

Arguments

username

Login username for Docker Hub.

img

Image name

tag

Tag, e.g. 'latest'

verbose

Be verbose? T/F

Value

Logical

See also

Other docker: docker_build()

Examples

library(outsider.devtools) # NOT RUN # # create image from om..echo Docker file # url <- paste0('https://raw.githubusercontent.com/DomBennett/om..hello.world/', # 'master/inst/dockerfiles/latest/Dockerfile') # docker_build(img = 'test_docker_push', tag = 'latest', verbose = TRUE, # url_or_path = url) # # push to your Docker Hub # docker_push(username = '[YOUR USERNAME]', img = 'test_docker_push', # tag = 'latest', verbose = TRUE)