Sign inSign up

anto112/oil-ml

By anto112

Updated almost 6 years ago

This image can running User Interface Apps in docker with machine learning package included

Image
0

807

anto112/oil-ml repository overview

Docker Image For Digital Image Processing and Machine Learning

email: [email protected]


This docker image running Ubuntu operating system (OS) include package library and framework for doing machine learning program with setting user Interface application. this image can work properly in windows or in Linux.

Specs:
  • ipykernel==5.1.1
  • ipython==7.7.0
  • jupyter==1.0.0
  • jupyter-c-kernel==1.2.2
  • Keras==2.2.4
  • matplotlib==3.1.1
  • notebook==5.6.0
  • numpy==1.17.0
  • opencv-python==4.1.0.25
  • pandas==0.25.0
  • Pillow==6.1.0
  • scikit-learn==0.21.2
  • scipy==1.3.0
  • seaborn==0.9.0
  • tensorflow==1.14.0
  • tornado==4.5.3

setup

Install docker following the guideline installation for your Operating System (OS) Platform from docker documentation


Obtaining docker image
  • Download from docker hub
  • clone this repository and build the docker image
    • docker build -t oil-ml:1.0

Setting On Windows
  1. Download and install xming for Xserver in Windows.

  2. After that add Ip addres in Host Xming like this article. you can see the step by step in bellow this .

    a. Go to the c:\Program Files (x86)\Xming\x0.hosts

    b. Open the X0.host file and add the IP address your pc. i suggest using Visual studio code.

  3. Then open PowerShell as administrator, set a DISPLAY environmental variable to your ip address.

  4. Run docker Container from PowerShell with typing command:

    • docker run -it --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix oil-ml:1.0 /bin/bash

    for make sure the Xserver is work, you can typing Xclock

    After that you can run all of the user interface application such as jupyter notebook

Linux
  1. Setting your user can run docker without sudo

    • sudo setfacl -m user:$USER:rw /var/run/docker.sock
  2. Mount the file .x11-unix and export DISPLAY to docker command like bellow this. If you can run xclock that work properly

    • docker run --privileged=true -it --net=host -e DISPLAY --volume /tmp/.x11-unix -v /home/$USER:/home/sudoer oil-ml:1.0 /bin/bash
    • you can run jupyter notebook

Reference

1. Docker documentation

2. Windows 10, Docker and GUI Apps setting

3. Run docker without sudo in Linux

4. docker Volumes

5. Setting docker after installation

Tag summary

Content type

Image

Digest

Size

1.4 GB

Last updated

almost 6 years ago

docker pull anto112/oil-ml