<commit_before>#!/bin/bash

ver=$(cat Dockerfile | grep "^FROM" | cut -f2 -d':')

rstudio_image=davetang/rstudio:${ver}

docker run --rm \
           -d \
           -p 8888:8787 \
           -v ~/github/learning_docker/rstudio/packages:/packages \
           -v ~/github/learning_docker/rstudio/notebooks:/notebooks \
           -v ~/github/learning_docker/rstudio:/data \
           -e PASSWORD=password \<commit_msg>Directory permission<commit_after>#!/usr/bin/env bash

ver=$(cat Dockerfile | grep "^FROM" | cut -f2 -d':')

rstudio_image=davetang/rstudio:${ver}
container_name=rstudio_dtang
port=8888

>&2 echo $container_name listening on port $port

docker run --rm \
           -p $port:8787 \
           -d \
           --name $container_name \
           -v ~/packages:/packages \
           -v ~/github/learning_docker/rstudio:/data \
           -e PASSWORD=password \
           -e USERID=$(id -u) \
           -e GROUPID=$(id -g) \
{'fraction_non_alphanumeric': 0.15058324496288442, 'fraction_numerical': 0.02014846235418876, 'mean_word_length': 2.035369774919614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1032991', 'n_tokens_mistral': 363, 'n_tokens_neox': 327, 'n_words': 63}