Credit: this custom Dockerfile is based off of the R-Docker (Rocker) project.

https://www.rocker-project.org/use/shared_volumes/

#### WEI SPECIFIC ####

docker run -e DISABLE_AUTH=true -e ROOT=true --name **plaqviewdev** -d -v /Users/wm5wt:/home/rstudio/Documents -p 1000:8787 millerlab/plaqviewmaster:latest

docker run -e DISABLE_AUTH=true -e ROOT=true --name **dataprocessing1** -d -v /Users/wm5wt:/home/rstudio/Documents -p 8787:8787 plaqviewmaster:11182022_CellChat_scCustomize
**#### cd to working directory ####
My\\ Drive/PlaqView_Master/Dockerfile_Rstudio_Plaqview**

**#### build plaqview image ####**
# note the space and period!!!!
\\ **# you can tag for versioning purposes**

**#### start Rocker/Plaqview container**
docker run -e DISABLE_AUTH=true -e ROOT=true --name **dataprocessing** -d -v /Users/wm5wt:/home/rstudio/Documents -p 8787:8787 millerlab/plaqviewmaster:latest

****
**##### other commands that are helpful #####**
# kill and rm all containers
docker container rm -f $(docker ps -aq)

# kill and rm all unsed and dangling images
docker system prune -a

# run base image (for **testing only**, not for plaqview)
docker run -e DISABLE_AUTH=true --name testbaserocker -d -v /Users/wm5wt:/home/rstudio/Documents -p 1111:8787 plaqviewmaster:baserocker

# run plaqviewmaster:rbase (no rstudio)
docker run -e DISABLE_AUTH=true -e ROOT=true --name **dataprocessinginrbase** -d -v /Users/wm5wt:/home/rstudio/Documents plaqviewmaster:rbase_01132022

IGNORE THIS EROR:
2021-12-11T19:15:10.754451Z [rsession-rstudio] WARNING No memory control group found in /proc/self/cgroup; LOGGED FROM: std::__cxx11::string rstudio::core::system::{anonymous}::getMemoryCgroup() src/cpp/core/system/LinuxResources.cpp:335