https://github.com/dynverse/babelwhale
Talking to Docker and Singularity containers
https://github.com/dynverse/babelwhale
Last synced: 4 months ago
JSON representation
Talking to Docker and Singularity containers
- Host: GitHub
- URL: https://github.com/dynverse/babelwhale
- Owner: dynverse
- License: other
- Created: 2018-09-07T07:48:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-27T23:42:46.000Z (over 2 years ago)
- Last Synced: 2025-10-22T05:56:33.496Z (8 months ago)
- Language: R
- Size: 500 KB
- Stars: 24
- Watchers: 4
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output:
github_document:
html_preview: false
---
# babelwhale: talk to docker and singularity from R
[](https://github.com/dynverse/babelwhale/actions)
[](https://cran.r-project.org/package=babelwhale)
[](https://app.codecov.io/gh/dynverse/babelwhale?branch=master)
Specify docker or singularity
```{r}
library(babelwhale)
config <- create_docker_config()
set_default_config(config)
```
Run a command in a container
```{r}
run("alpine", "echo", c("hello"))
```
Get a file from a container
```{r}
read_file("alpine", "/etc/alpine-release")
```
## Latest changes
Check out `news(package = "dynutils")` or [NEWS.md](NEWS.md) for a full list of changes.
```{r news, echo=FALSE, results="asis"}
cat(dynutils::recent_news())
```