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
docker run hello-world
./docker-run.sh
python3 show.py
exit
build:
docker build -t jerinka/opencv:1 .
run:
./docker-run.sh python show.py
push:
docker login
docker push jerinka/opencv:1