Sign inSign up

jaboo/miw

By jaboo

Updated about 4 years ago

Education environment to run Python and Jupyter Lab.

Image
0

254

jaboo/miw repository overview

Origin

Stacked on top of Image jaboo/simpylc-notebook which implements github and contains additional libraries for Machine Learning, inspect the Dockerfile on Github for details.

How to use this image

Test by running an interactive bash session

docker run -it --rm --name python-ai-bash --entrypoint bash jaboo/miw:latest

Test by running python in REPL mode

docker run -it --rm --name python-ai-repl --entrypoint run_script jaboo/miw:latest

run with ptpython interpreter

docker run -it --rm --name python-ai-repl --entrypoint ptpython jaboo/miw:latest

Test by running your python script

docker run -it --rm --name python-ai-repl -v "${PWD}:/home/student" --entrypoint run_script -e SCRIPT=hello.py  jaboo/miw:latest

For Windows, use Cygwin with a transformed the hostpath

docker run -it --rm --name python-ai-repl -v "$(cygpath -w -p ${PWD}):/home/student" --entrypoint run_script -e SCRIPT=hello.py  jaboo/miw:latest

Start Jupyter Lab (which is the default entrypoint) with access to your notebooks

docker run -it --rm --name python-ai-repl -v "${PWD}/notebooks:/home/student/notebooks" -p8888:8888 jaboo/miw:latest

For Windows, use Cygwin with a transformed the hostpath

docker run -it --rm --name python-ai-repl -v "$(cygpath -w -p ${PWD}/notebooks):/home/student/notebooks" -p8888:8888 jaboo/miw:latest

Tag summary

Content type

Image

Digest

sha256:e893409ad

Size

1.2 GB

Last updated

about 4 years ago

docker pull jaboo/miw:0.9