AzureContainers/man/call_docker_compose.Rd

42 строки
1.6 KiB
Plaintext
Исходник Обычный вид История

2019-11-23 12:24:52 +03:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ext_tools.R
\name{call_docker_compose}
\alias{call_docker_compose}
\title{Call the docker-compose commandline tool}
\usage{
call_docker_compose(cmd = "", ...,
echo = getOption("azure_containers_tool_echo", TRUE))
2019-11-23 12:24:52 +03:00
}
\arguments{
\item{cmd}{The docker-compose command line to execute.}
\item{...}{Other arguments to pass to \link[processx:run]{processx::run}.}
\item{echo}{Whether to echo the output of the command to the console.}
}
\value{
A list with the following components:
\itemize{
\item \code{status}: The exit status of the docker-compose tool. If this is \code{NA}, then the process was killed and had no exit status.
\item \code{stdout}: The standard output of the command, in a character scalar.
\item \code{stderr}: The standard error of the command, in a character scalar.
\item \code{timeout}: Whether the process was killed because of a timeout.
\item \code{cmdline}: The command line.
}
The first four components are from \code{processx::run}; AzureContainers adds the last to make it easier to construct scripts that can be run outside R.
}
\description{
Call the docker-compose commandline tool
}
\details{
This function calls the \code{docker-compose} binary, which must be located in your search path. AzureContainers will search for the binary at package startup, and print a warning if it is not found.
}
\seealso{
\link[processx:run]{processx::run}, \link{call_docker}, \link{call_kubectl} for the equivalent interface to the \code{kubectl} Kubernetes tool
\link{docker_registry}
\href{https://docs.docker.com/compose/}{Docker-compose command line reference}
}