Browse Source

mod to handle migration to sys in harbort

master
boB Rudis 5 years ago
parent
commit
703f33afb3
  1. 8
      R/docker.r
  2. 4
      man/stop_splash.Rd

8
R/docker.r

@ -27,8 +27,12 @@ install_splash <- function(host = harbor::localhost) {
#' stop_splash(splash_container)
#' }
start_splash <- function(host = harbor::localhost) {
harbor::docker_run(host, image = "scrapinghub/splash", detach = TRUE,
docker_opts = "-p 5023:5023 -p 8050:8050 -p 8051:8051")
harbor::docker_run(host,
image = "scrapinghub/splash",
detach = TRUE,
docker_opts = c("-p", "5023:5023",
"-p", "8050:8050",
"-p", "8051:8051"))
}
#' Stop a running a Splash server Docker container

4
man/stop_splash.Rd

@ -4,13 +4,11 @@
\alias{stop_splash}
\title{Stop a running a Splash server Docker container}
\usage{
stop_splash(splash_container, host = harbor::localhost)
stop_splash(splash_container)
}
\arguments{
\item{splash_container}{saved Splash container id from [start_splash]}
\item{host}{Docker host; defauolts to `localhost`}
\item{splash_container}{Docker `container` object created by [start_splash]}
}
\description{

Loading…
Cancel
Save