{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# rubydata/minimal on Binder\n", "\n", "Run the cells below to inspect what's in the rubydata/minimal image from the RubyData Docker Stacks project.\n", "\n", "Click here to open a [JupyterLab](../lab) tab. Click here to open a [Classic Notebook](../notebooks) tab.\n", "\n", "RedAmber example: [red-amber.ipynb](red-amber.ipynb)." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "\"This container is using tag #{ENV['TAG']} of the rubydata/minimal image\"" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The notebook server is running as the following user." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "puts `id`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here's the contents of that user's home directory, the default notebook directory for the server." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "puts `ls -al`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Conda is available in the user's path." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "puts `which conda`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The user has read/write access to the root conda environment." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "puts `ls -l /opt/conda`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The following packages are conda-installed in the base image to support [Jupyter Notebook](https://github.com/jupyter/notebook), [JupyterLab](https://github.com/jupyterlab/jupyterlab), and their use in [JupyterHub](https://github.com/jupyterhub/jupyterhub) environments (e.g., [MyBinder](http://mybinder.org/))." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "scrolled": false }, "outputs": [], "source": [ "puts `conda list`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The following packages are gem-installed." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "scrolled": false }, "outputs": [], "source": [ "puts `gem list`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Other images in the [RubyData/docker-stacks project](https://github.com/RubyData/docker-stacks) include additional libraries. See the [Jupyter Docker Stacks documentation](https://jupyter-docker-stacks.readthedocs.io/en/latest/) for full details." ] } ], "metadata": { "kernelspec": { "display_name": "Ruby 3.1.2", "language": "ruby", "name": "ruby" }, "language_info": { "file_extension": ".rb", "mimetype": "application/x-ruby", "name": "ruby", "version": "2.6.2" } }, "nbformat": 4, "nbformat_minor": 2 }