Git Product home page Git Product logo

docker's Introduction

Dockerized Business Analytics

This repo contains information to setup a docker image with R, Rstudio, Shiny, Radiant, Python, Postgres, JupyterLab, and Spark

Install Docker

To use the docker images you first need to install Docker

After installing Docker, check that it is running by typing docker --version in a terminal. This should return something like the below:

docker --version
Docker version 20.10.13, build a224086

rsm-msba-arm and rsm-msba-intel

rsm-msba-arm is built for M1, ARM based macOS computers. rsm-msba-intel is built for AMD based computers and includes Rstudio Server. To build a new image based on rsm-jupter-rs add the following at the top of your Dockerfile

FROM vnijs/rsm-msba-intel:latest

rsm-msba-intel-jupyterhub

This image builds on rsm-msba-intel and is set up to be accessible from a server running jupyter hub.

Trouble shooting

To stop (all) running containers use:

docker kill $(docker ps -q)

If the build fails for some reason you can access the container through the bash shell using to investigate what went wrong:

docker run -t -i $USER/rsm-upyter-rs /bin/bash

To remove an existing image use:

docker rmi --force $USER/rsm-msba-spark

To remove stop all running containers, remove unused images, and errand docker processes use the dclean.sh script

./scripts/dclean.sh

General docker related commands

Check the disk space used by docker images

docker ps -s
docker system df

Previous versions of the RSM computing environment

To see the documentation and configuration files for versions prior to 2.0 see docker1.0

Trademarks

Shiny is registered trademarks of RStudio, Inc. The use of the trademarked terms Shiny through the images hosted on hub.docker.com has been granted by explicit permission of RStudio. Please review RStudio's trademark use policy and address inquiries about further distribution or other questions to [email protected].

Jupyter is distributed under the BSD 3-Clause license (Copyright (c) 2017, Project Jupyter Contributors)

Acknowledgements

Thanks to Ajar Vashisth for helping me get started with Docker and Docker Compose. Thanks also to Raghav Prasad for setting up the > 2.0.0 versions of the docker images to start from Jupyter docker images.

docker's People

Contributors

raghavprasad13 avatar vnijs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

[radiant] How to pre-add data and start only the data mode

Hi!

I've been reading the repo documentation and source code, but I couldn't find a way to use the radiant docker container in a way that I can select the state.rda file I want to be preloaded into Radiant. This data file could be shared via shared volumes with the container.

Also, I'd like to be able to run radiant only with the data mode, would that be possible? (radiant.data("/mydata.state.rda")).

Thank you for your attention!

jupyter notebook loading older version of a package

I tried to install a package locally.

By running, pip3 list, I can see that the latest version is installed. But when I do:

import package
print(package.__version__)

I see an older version. 

Any insights on where the packages are installed within the docker environment (when I use pip3 install --user package) .

Unable to connect to service when adding custom users users

Hi,
I was using your image and it worked excellent, but now we have integrated z2jh with NFS mounts and so on, so we need to add custom /etc/passwd and /etc/groups to the image. So rebuilding your image like this, trows the Unable to connect error after 10s, roughly.

17:31 # cat rsm-jupyterhub/Dockerfile 
FROM vnijs/rsm-jupyterhub:latest

ADD ./passwd /etc/passwd
ADD ./group /etc/group

USER $NB_UID

image

Do you have any idea about what I could be doing wrong?

Cheers.

unable to locate the git folder after re-installing rsm setup

Hi,

I have recently re-installed the rsm setup after a year (the last version was during April 2021). I have changed the user name compared to the initial installation (2019) of rsm setup. Now, I couldn't locate the git folder just like I always had access with my old user name under the C: drive. By reading this issue, I see that the user remains jovyan for everyone in the environment.

There is no problem in using jupyter or R but if I want to upload data from an older git folder or even new data or files, I prefer to directly move it in the windows explorer rather than adding them to the git folder by drag and dropping on to the git folder shown on the below screen:

image

  1. How can I access the newer git folder on windows explorer?

https and plot server

Hi,

in case one needs to serve the GUI over https, what would then be way to configure ssl? In addition, how can one overwrite the standard behaviour (data sources, reduce the number of menu), keeping the dockerized structure?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.