Category Archives: Docker

Dockerfile for Python 3.9 with OpenCV, MediaPipe, TensorFlow Lite and Coral Edge TPU

Dockerfile Requirements.txt

Posted in Allgemein, Docker, Machine Learning | Tagged , , , | Comments Off on Dockerfile for Python 3.9 with OpenCV, MediaPipe, TensorFlow Lite and Coral Edge TPU

Nginx & Certbot (Letsencrypt) via Docker…

Initially you have to init the certbot and get the certificate manually. The letsencrypt and the www directory must be mounted on both containers. Certbot will check the certificates every 12h and nginx must reload the configuration periodically. Nginx must … Continue reading

Posted in Allgemein, Docker, Linux | Comments Off on Nginx & Certbot (Letsencrypt) via Docker…

WinCC OA on Docker, Dockerfiles and Howto’s…

This repository on Github contains Dockerfiles and samples to build Docker images for WinCC OA products. Build Docker Image Download and unzip the CentOS WinCC OA rpm’s to the centos/software directory. Only put those WinCC OA rpm’s into the directory … Continue reading

Posted in Allgemein, Docker, WinCC OA | Comments Off on WinCC OA on Docker, Dockerfiles and Howto’s…

Install Kubernetes-Cluster

Install Servers I have used Ubuntu Server 18.04 LTS. Install one Master-Node and 3 Worker-Nodes. ! Don’t clone the Ubuntu-VMs. I had troubles with networking when I have used cloned VMs. Even though the Mac-Addresses of the interfaces were different … Continue reading

Posted in Docker | Comments Off on Install Kubernetes-Cluster

Use Local Docker Registry

Start Local Registry docker run -d -p 5000:5000 –restart=always –name registry -v /data/registry:/var/lib/registry registry:2 cat /etc/docker/daemon.json { “insecure-registries” : [“myhost:5000”] } docker tag <image> myhost:5000/<image> docker push myhost:5000/<image> Load Image via SSH cat xxx.img | ssh root@worker02 “docker load” Get … Continue reading

Posted in Docker | Comments Off on Use Local Docker Registry

Setup MicroK8S

Install Add the following lines to /etc/docker/daemon.json: { “insecure-registries” : [“localhost:32000”] } > snap install microk8s –classic –channel=1.17/stable > microk8s.status > microk8s.stop # Stops all MicroK8s services > microk8s.start # Starts MicroK8s after it is being stopped Alias > alias … Continue reading

Posted in Docker | Comments Off on Setup MicroK8S

Kibana and PgAdmin4 with NGINX Reverse Proxy on Docker…

If you have multiple services running on Docker with different ports, you have to open ports in your firewall and you have to access the services via different ports in the browser. To have one access port (port 80 or … Continue reading

Posted in Allgemein, Docker, Linux | Comments Off on Kibana and PgAdmin4 with NGINX Reverse Proxy on Docker…

Store Docker Logs in Elasticsearch with Filebeat…

Create a filebeat configuation file named “filebeat.yaml” Create a docker-compose.yaml file Startup the docker containers docker-compuse up -d Then you can access the logs via Kibana in the browser: http://localhost:5601/

Posted in Allgemein, Docker, Linux | Comments Off on Store Docker Logs in Elasticsearch with Filebeat…