Running a docker container via Jupiter Notebook

507 Views Asked by At

I've searched for a number of hours to find the answer to this because I want to respect the idea of non-redundant posts. I'm sure the fact that I'm relatively new to programming doesn't help but here's my issue (hopefully I present it in the correct way):

I am taking a Computational Finance class that requires the package 'qstk'. There is a docker image setup with everything needed for the course, under the docker file 'ruippeixotog/qstk'. I followed the following instructions to access this docker file via the Jupiter notebook and was successful but ever since that first use of the file, I can no longer access the notebook.

I have the current version of Docker downloaded and follow the same instructions to access the notebook via a web browser (I've tried Safari, Chrome, and Firefox) but always get the error code "

  • install docker whatever OS you have (it officially supports Windows, Mac, Linux) by following the instructions on the Docker website start it, still following the instructions on the website
  • List item
  • execute on command line: docker run -dt -p 8888:8888 --name qstk
    ruippeixotog/qstk
  • open your browser at http://localhost:8888 and you have a python interpreter with QSTK fully configured

The source repository is at: https://github.com/ruippeixotog/docker-qstk

My process:

  1. I run docker with: docker run -dt -p 8888:8888 --name qstk ruippeixotog/qstk
  2. I go to http://localhost:8888

And I get the response from the browser: "Failed to open page...server unexpectedly dropped the connection"

If I run:

  1. I run docker with: docker run -dt -p 8888:8888 --name qstk ruippeixotog/qstk
  2. jupyter notebook

It brings me to my tree of file folders (localhost:8888/tree), where the two files "QSTK-0.2.5.tar.gz" and "QSTK-0.2.5.tar.gz.cpgz" Are located, along with a bunch of my other folders. When I try to edit the first of those two files, it opens a new tab and tells me "SSL is required." within the jupyter editor page for that file, showing nothing else

When I try to edit the second, it shows only "Error! /Users/.../QSTK-0.2.8

Can anyone help with this?

0

There are 0 best solutions below