Giter VIP home page Giter VIP logo

anaconda-notebook's People

Contributors

rothnic 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

Watchers

 avatar  avatar  avatar  avatar  avatar

anaconda-notebook's Issues

tmpnb 404: Not Found with my own Image

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}"

python 2 packags

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!!

Proxy target missing trying to run image rothnic/anaconda-notebook

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.

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.