The containerit package provides one core function: dockerfile.

Create Dockerfiles

The dockerfile method create an R representation of a Dockerfile, which is a recipee for a Docker container. The object can be serialized to a Dockerfile, which can be used to build a runnable Docker image. dockerfile objects can be created based on R scripts and sessions.