docker: docker. Wraps Docker Python SDK.

Description Usage Format Examples

Description

Allows accessing Docker SDK from R via the Docker Python SDK using the reticulate package. This is a very thin wrapper and relies on the user to understand how the Python SDK works and how the reticulate package is used to interface with python.

This is the docker instance corresponding to docker module of the docker Python SDK.

Usage

1

Format

An object of class python.builtin.module (inherits from python.builtin.object) of length 2.

Examples

1
2
3
4
5
6
## Not run: 
library(docker)
client <- docker$from_env()
client$containers$run('alpine', 'echo "Hello World!"')

## End(Not run)

docker documentation built on July 15, 2017, 9:02 a.m.