% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dockerWrapper.R
\name{stopStudy}
\alias{stopStudy}
\title{Stop a running OmopStudyBuilder container (automated or RStudio)}
\usage{
stopStudy(
  container = NULL,
  image_name = NULL,
  mode = c("any", "rstudio", "run"),
  all = FALSE
)
}
\arguments{
\item{container}{Optional container name or ID to stop directly.}

\item{image_name}{Optional Docker image name. Defaults to current directory name.}

\item{mode}{Which container(s) to stop: "any" (default), "rstudio", or "run".}

\item{all}{If TRUE, stops all running containers started by OmopStudyBuilder.}
}
\value{
TRUE if at least one container was stopped (invisibly)
}
\description{
Stops containers started by \code{runStudy()} and/or \code{runRStudio()}.
By default it stops containers for the image inferred from the current
directory name.
}
