Data Science (DS) enviornment template
Docker image that would help you knitt an rmarkdown in a bash shell or fire up ipython for your workflow tuning with the latest python3 and R versions.
setup
- R or Python3 libraries you need for your project's application.
- add services and change the service name as you need in
docker-compose.yml
file - change the path to your data input and output in
docker-compose.yml
file - add the path to your local application in DockerFile
- change the commands and entrypoints as you need in Dockerfile
execute
docker-compose build <my service name>
(may need sudo to fireup docker daemon)docker-compose run --rm <my service name>
🎉 may the force be with you!
Note: This image is for macs with apple M1 chip.
- https://cloud.r-project.org/bin/linux/ubuntu/focal-cran40/
- https://docs.docker.com/desktop/mac/apple-silicon/
For Intel chip systems, you can remove platform: linux/amd64
in docker-compose.yml
file.