stop_amcat_docker: Stop docker containers with AmCAT modules

View source: R/docker.r

stop_amcat_dockerR Documentation

Stop docker containers with AmCAT modules

Description

Stop docker containers with AmCAT modules

Usage

stop_amcat_docker(compose = NULL, filters = NULL)

Arguments

compose

Path to a Docker Compose file. Uses https://github.com/JBGruber/amcat4docker/blob/main/docker-compose.yml by default.

filters

Names of containers or named values for other filters. (See [https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerList])

Details

Stops either the containers defined in a compose file or the filters. If filters is set, compose is ignored.

Examples

## Not run: 
# stop AmCAT modules
stop_amcat_docker()

# stop container by id
stop_amcat_docker(filters = c(id = "a6cbe4787227"))

# stop all containers
stop_amcat_docker(filters = "")

## End(Not run)

ccs-amsterdam/amcat4r documentation built on April 17, 2025, 3:22 a.m.