Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jerinka/imshow_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

Docker mnist show

Details

Medium Blog : https://jerin-electronics.medium.com/docker-now-ep1-python-opencv-in-docker-1dda564672c3

Install docker

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo groupadd docker
sudo usermod -aG docker $USER
  • logout and login again
  • docker ps
  • if permission denied, try above usermod command and logout-login

Install docker and nvidia-docker2 (optional -for gpu support)

Follow the steps here

Docker Tutorial

Orientation and setup

docker run hello-world

Run docker and get bash

./docker-run.sh

Running imshow example

python3 show.py
exit

Building Docker Image, running, and pushing to Dockerhub

build:

docker build -t jerinka/opencv:1 .

run:

./docker-run.sh python show.py

push:

docker login
docker push jerinka/opencv:1

More Lerning

  • Deep Learning with Tensorflow and Pytorch Udemy Course: enroll link
  • GitLab CICD Udemy Course: enroll link

About

Docker OpenCV hello imshow program

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /