Browse Source

mod to handle migration to sys in harbort

master
boB Rudis 3 years ago
parent
commit
703f33afb3
2 changed files with 7 additions and 5 deletions
  1. +6
    -2
      R/docker.r
  2. +1
    -3
      man/stop_splash.Rd

+ 6
- 2
R/docker.r View File

@@ -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


+ 1
- 3
man/stop_splash.Rd View File

@@ -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