rothnic / anaconda-notebook Goto Github PK
View Code? Open in Web Editor NEWDocker image for an IPython 3/Jupyter Notebook and Terminal with full Anaconda Install
Home Page: https://registry.hub.docker.com/u/rothnic/anaconda-notebook/
Docker image for an IPython 3/Jupyter Notebook and Terminal with full Anaconda Install
Home Page: https://registry.hub.docker.com/u/rothnic/anaconda-notebook/
I want to run my own docker image. But got 404: Not Found error.
anaconda-notebook works fine, and jupyter/minimal works fine too.
What am I doing wrong?
Here is the Dockfile
FROM ubuntu:14.04
# install opencv dependencies
RUN apt-get update && apt-get install -y \
build-essential cmake git pkg-config \
libjpeg8-dev libtiff4-dev libjasper-dev libpng12-dev \
libgtk2.0-dev \
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
libatlas-base-dev gfortran \
python2.7-dev python-pip python-numpy
# download opencv repo
RUN cd ~ && \
git clone https://github.com/Itseez/opencv.git && \
cd opencv && \
git checkout 3.0.0
# download opencv_contrib repo
RUN cd ~ && \
git clone https://github.com/Itseez/opencv_contrib.git && \
cd opencv_contrib && \
git checkout 3.0.0
# build and install opencv
RUN cd ~/opencv && \
mkdir build && \
cd build && \
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules .. && \
make && \
make install && \
ldconfig
# install python libraries
RUN apt-get install -y \
python-scipy python-matplotlib python-scikits-learn python-pil
# install ipython notebook
RUN apt-get install -y \
ipython ipython-notebook
# setting environment
RUN useradd --create-home --home-dir /home/cvuser --shell /bin/bash cvuser
EXPOSE 8888
USER cvuser
ENV HOME=/home/cvuser
ENV SHELL=/bin/bash
ENV USER=cvuser
WORKDIR /home/cvuser
CMD ipython notebook
I start the tmpnb with the following command:
docker pull shixudongleo/opencv
export TOKEN=$( head -c 30 /dev/urandom | xxd -p )
docker run --net=host -d -e CONFIGPROXY_AUTH_TOKEN=$TOKEN --name=proxy jupyter/configurable-http-proxy --default-target http://127.0.0.1:9999
docker run --net=host -d -e CONFIGPROXY_AUTH_TOKEN=$TOKEN \
-v /var/run/docker.sock:/docker.sock \
jupyter/tmpnb python orchestrate.py --image='shixudongleo/opencv' --command="ipython notebook --NotebookApp.base_url={base_path} --ip=0.0.0.0 --port {port}"
Docs should explain why the notebook server requires this option, and how things will break if it's omitted.
docker build is not working anymore
I want to install some packages that only work on python 2.
So basically, I want to extend your docker image, so that I can
install new packages into a docker image derived from your image.
How do I do that?
Thanks!!
Hi I'm probably doing something wrong.
I want to get rothnic/anaconda-notebook running as tmpnb.
I have no prob getting the jupyter/minimal running.
But getting this to work with the following command is give me a proxy target missing error.
docker run --net=host -d -e CONFIGPROXY_AUTH_TOKEN=$TOKEN --name=tmpnb -v /var/run/docker.sock:/docker.sock jupyter/tmpnb python orchestrate.py --image='rothnic/anaconda-notebook' --container_port=8000 --command="ipython notebook --NotebookApp.base_url={base_path} --port {port}"
Could you help me out? I would really love to use this configuration with my team.
Notebooks should be persistent rather than being destroyed when the container is stopped.
Reference: https://github.com/ipython/docker-notebook/blob/master/notebook/Dockerfile
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.