Skip to content

vchouhan/docker_eval

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Caserta Evaluation

For Mac Users

  1. Install Docker

  2. Pull and open repository in Terminal

  3. Run "docker build --tag=caserta_evaluation ." to build local docker images (may take up to 20 minutes to complete)

  4. Run "docker run -p 8888:8888 caserta_evaluation " to launch docker container

  5. Go to jupyter link "localhost:8888" and complete the evaluation

  6. Download the notebook as a .ipynb file and send to Andre Chapman (andre@caserta.com)

Steps 2/3/4 in bash

$ git clone https://github.com/Caserta-Concepts/docker_eval.git
$ cd docker_eval
$ docker build --tag=caserta_evaluation .
$ docker run -p 8888:8888 caserta_evaluation 

For Windows Users

Windows 7/8/10 home with 64bit:

  1. Install Docker Toolbox: https://docs.docker.com/toolbox/toolbox_install_windows/, after installation, the icon of Docker Quickstart Terminal will show on Desktop.

  2. Open Windows Terminal, clone Github repo under C:\Users (Docker Toolbox mounts C:\Users into the Docker VM at /c/Users)

  3. Click the icon of Docker Quickstart Terminal to launch Docker, and wait for the VM to be initiated

  4. In Docker Terminal:

    1. Locate docker_eval dir, run "cd /c/Users/docker_eval"

    2. Run "docker build --tag=caserta_evaluation ." to build local docker images (may take up to 20 minutes to complete)

    3. Run "docker-machine ip" to get VM ip adddress, the output will look something like this: 192.168.99.104

    4. Run "docker run -p 8888:8888 caserta_evaluation " to launch docker container

  5. Back to Windows web browser, go to " <your vm ip address(see above)>:8888 " and complete the evaluation.

  6. Download the notebook as a .ipynb file and send to Andre Chapman (andre@caserta.com)

Steps 2/4 in bash

$ git clone https://github.com/Caserta-Concepts/docker_eval.git
$ cd /c/Users/docker_eval
$ docker build --tag=caserta_evaluation .
$ docker-machine ip
$ docker run -p 8888:8888 caserta_evaluation 

Windows 10 Pro, Enterprise or Education (Build 15063 or later) with 64bit:

  1. Install Docker for Windows

  2. Follow the same instructions as for Mac users

Note:

  1. When opening the notebook, to get edit access, you may need to left-click the 'Not Trusted'(in the top-left corner) to turn into 'Trusted'

  2. When finished with this test:

    2.1. 'ctrl-C' twice to shut down the Jupiter and stop the docker container

    2.2. Clean up docker images:

$ docker image rm -f caserta_evaluation

About

A Dockerized Spark Notebook

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dockerfile 100.0%