[PYTHON] Easily prepare a Jupyter Notebook environment with Docker (Tensorflow and Graphviz are also available)

Introduction

I want to do data analysis and machine learning for a while, but the environment preparation is a little troublesome, I'm doing hands-on, but I think it's possible that it takes a lot of time just to explain the environment setup.

Jupyter Notebook is a great functional environment, and you can use it with a web browser. It is convenient to put such an environment in Docker, and if you start it with your own Local or start it with a cloud server, anyone with a web browser can use it, so it is easy.

I have a Docker Container that has already been released, but I'm missing some of them, so I made an additional one, so I'll share it.

Jupyter Notebook Docker Container

The Docker file is here. https://github.com/mokemokechicken/jupyter-tensorflow

What's in

How to use

If you want to move it like this, it will be as follows.

run.sh


docker run -d -p 8888:8888 -v `pwd`/notebooks:/home/jovyan/work -e PASSWORD="$PASSWORD" -e GRANT_SUDO=yes --user root mokemokechicken/jupyter-tensorflow start-notebook.sh

The Option is basically the same as https://github.com/jupyter/docker-stacks/tree/master/datascience-notebook, so please refer to that as well.

at the end

I think it would be convenient to deploy one such thing in the company for sharing a little work or studying.

Recommended Posts

Easily prepare a Jupyter Notebook environment with Docker (Tensorflow and Graphviz are also available)
Analytical environment construction with Docker (jupyter notebook + PostgreSQL)
Virtual environment construction with Docker + Flask (Python) + Jupyter notebook
Using Graphviz with Jupyter Notebook
Prepare python3 environment with Docker
I want to use a virtual environment with jupyter notebook!
Make a sound with Jupyter notebook
How to use jupyter notebook without polluting your environment with Docker
Build a comfortable psychological experiment / analysis environment with PsychoPy + Jupyter Notebook
Create a C ++ and Python execution environment with WSL2 + Docker + VSCode
Create a simple Python development environment with VS Code and Docker
[DynamoDB] [Docker] Build a development environment for DynamoDB and Django with docker-compose
Build a development environment using Jupyter and Flask with Python in Docker (supports both VS Code / code-server)
I wanted to use jupyter notebook with docker in pip environment (opticspy)
Build a CentOS Linux 8 environment with Docker and start Apache HTTP Server
Easily build a development environment with Laragon
Build Jupyter Lab (Python) environment with Docker
Build a Tensorflow environment with Raspberry Pi [2020]
Use Jupyter Lab and Jupyter Notebook with EC2
Get a local DynamoDB environment with Docker
Linking python and JavaScript with jupyter notebook
[Linux] Build a jenkins environment with Docker
[Linux] Build a Docker environment with Amazon Linux 2
Easy installation and launch of Jupyter Notebook using Docker (also supports nbextensions and Scala)
Build a Python + bottle + MySQL environment with Docker on RaspberryPi3! [Trial and error]
Install and set Jupyter Notebook to create a study note creation environment [Mac]
Build a PYNQ environment on Ultra96 V2 and log in to Jupyter Notebook
Build a TensorFlow development environment on Amazon EC2 with command copy and paste
Note: Prepare the environment of CmdStanPy with docker
Prepare the execution environment of Python3 with Docker
Building a python environment with virtualenv and direnv
[Python] Build a Django development environment with Docker
Try using conda virtual environment with Jupyter Notebook
Build a virtual environment with pyenv and venv
Build PyPy and Python execution environment with Docker
How to quickly create a machine learning environment using Jupyter Notebook with UbuntuServer 16.04 LTS
Steps to quickly create a deep learning environment on Mac with TensorFlow and OpenCV
Build a basic Data Science environment (Jupyter, Python, R, Julia, standard library) with Docker.
How to build a Python virtual execution environment using Visual Studio Code and pipenv on a Windows machine (also Jupyter notebook)
Easily launch jupyter notebook on AWS and access locally
Building a Docker working environment for R and Python
Build a python virtual environment with virtualenv and virtualenvwrapper
[Python] OpenCV environment construction with Docker (cv2.imshow () also works)
How to share folders with Docker and Windows with tensorflow
Drawing a tree structure with D3.js in Jupyter Notebook
EC2 provisioning with Vagrant + Jupyter (IPython Notebook) on Docker
Pepper-kun remote control environment construction with Docker + IPython Notebook
Build a python virtual environment with virtualenv and virtualenvwrapper
Install Ubuntu 20.04 with GUI and prepare the development environment
Build a development environment with Poetry Django Docker Pycharm
[Linux] Create a self-signed certificate with Docker and apache
Build a numerical calculation environment with pyenv and miniconda3
How to quickly create a machine learning environment using Jupyter Notebook with UbuntuServer 16.04 LTS with anaconda
Put Jupyter and Docker Compose on your Chromebook and use it as a light development environment!
Are you still using Jupyter Notebook? Enjoy a comfortable Python life with Jupyter Life (.py) with VS Code ?!