linkTDP
6/17/2015 - 9:00 PM

docker spark container and resource

docker spark container and resource

https://registry.hub.docker.com/u/cineca/spark-ipython/

docker pull cineca/spark-ipython

https://github.com/gfiameni/course-exercises/tree/master/spark/2015_April

#list of containers and get name docker cp

docker run -d -p 8888:8888 -p 8080:8080 -v //c/Users/shared:/notebooks cineca /spark-ipython

machine vith ubuntu

List your images

docker images

##in that way docker download the container and start it

docker run -ti ubuntu:14.04 //bin/bash

##swow containers (-a also not running)

docker ps -a

attach a shell if disconnected

docker exec -i -t 8bf40683a65b //bin/bash

start with shared folder

docker run -ti-v //c/Users/shared:/shared redland(container name) //bin/bash

##commit an immage

docker commit <container_id> <some_name>

stop container

docker stop <container_id>

connect docker virtual machine

ssh docker@192.168.99.100

psw: tcuser

create shared folder windows

http://stackoverflow.com/questions/30864466/whats-the-best-way-to-share-files-from-windows-to-boot2docker-vm

sudo mkdir /udacity

sudo mount -t vboxsf udacity /udacity

$ docker run -m 8096m -p 8888:8888 -v //udacity:/notebooks -it --rm b.gcr.io/te nsorflow-udacity/assignments:0.5.0