Skip to content

chennavarri/docker-ubuntu-python-opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

docker-ubuntu-python-opencv

The Dockerfile builds an image on Ubuntu 16.04 and installs Python2 and Python3 and OpenCV with all required libraries.

Here's the DockerHub link https://hub.docker.com/r/chennavarri/ubuntu_opencv_python/

Running this on a Mac OSX with X11 forwarding:

Running this image on Mac OSX with X11 forwarding could be a bit tricky. Here are the steps you would need to follow

  • This assumes that you have brew, XQuartz and Docker with Kitematic installed on Mac OSX
    • brew install socat
    • socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY" &
    • xhost +
    • Open your XQuartz and in the X11 preferences-> Security tab-> [Check both i.e. "Authenticate connections" and "Allow connections from network clients"
    • Then open Kitematic and select File->Open Docker Command Line Terminal
    • Determine your IP address from ifconfig command and then,
    • Replace the IP address in this command with your IP and run docker run --rm -e DISPLAY=281.215.007.007:0 -it image_name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published