Please note that if you currently have VirtualBox version 5.x.x installed on your machine, you will need to downgrade to version 4.3 on OS X. To do this uninstall VirtualBox with the uninstaller that came with it. If you receive an error stating that there are virtual boxes that are still running, go to the terminal and type in
to see which virtual boxes are still running. To kill all the running virtual boxes type in
Ver 0.05 for Spark 2.0, etc. (Jupyter and Zeppelin will be added soon)
or
Ver 0.04.1 for Spark 1.5 with Jupyter and Zeppelin
If you receive an error here that states Cannot connect to the Docker daemon use
Then retype the docker run -it above and it will expose three ports: 22, 8888, 8889 to host environment
means you will visit host-port in your host environment and it will forward the message to vm-port in docker container. You can change this parameter host-port if you meet error like "port already in use".
Each vm-port is linked to:
After you run Docker and start services as Step 2, you can access each Notebook with your web browser via:
In Linux (Ubuntu, CentOS, Fedora, ...)
You just need to visit "localhost:8888", or other port number if you changed host-port
In OS X
You should get the Docker's IP first with command as follow:
then, you can visit 192.168.99.100:8888 or 192.168.99.100:8889 , or 192.168.99.100:host-port you changed.
(2) Start all necessary services
If you have chosen 0.04.1 to use zeppelin, start one more service
To use Jupyter Notebook:
parameter --ip=0.0.0.0 makes Jupyter allow you to visit this service via your web browser and it will open a web service listening port 8888.
(3) Stop all services
You can stop services if you want:
and if you used Zeppelin,
(4) Detach or Exit
To detach instance for keeping it up,
To exit,
(5) Re-attach
If you detached a instance and want to attach again,
check the CONTAINER ID or NAMES of it.