tmpfs

$ docker run --tmpfs /rocket-science -it --name mobyr rocker/r-base /bin/bash
mobyr / $ touch /rocket-science/my-script.R