Tag: docker
-
Setting up Raspbian on Mac and image cloning for easier deployment(2021)
I had an old post here that details the setup of Raspbian Lite on Mac, now I am going to give an updated method to setup Raspberry Pis. The Pi will be used mainly as a development device and middleware component. As such work will be primarily done in Docker for easier deployment in the…
-
Installing flask with numpy on Docker (Raspberry Pi)
For some reason I can’t just install numpy using: pip install numpy Or by putting it in a requirements.txt file. Right now i am using the following versions: Docker version 18.05.0-ce, build f150324 Linux raspberrypi3-04 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux FROM resin/raspberrypi3-python:3.6 (in dockerfile) Somehow it gives me this error…
-
Docker local registry for Raspberry Pi
Why you might need a local registry? For my purposes, I need one because I aim to put my environment/setup into an area with limited to no Internet infrastructure available as such I want everything to be able to work regardless of connectivity. This is where a local registry comes in. As long as you…
-
Using pi camera with Docker and flask
Error encountered: * failed to open vchiq instance sudo usermod -a -G video $(whoami) docker-compose, make sure to add the vchiq device version: ‘3’ services: flask-picamera: build: context: ./pi_site dockerfile: Dockerfile ports: – “5000:5000” volumes: – ./pi_site:/app container_name: pi_site devices: – “/dev/vchiq” DockerFile, do not use the slim version of python. FROM resin/raspberry-pi-python:2.7-wheezy COPY .…
-
Backing up and restoring database on Docker TICK Stack
What is a TICK Stack. InfluxData provides a Modern Time Series Platform, designed from the ground up to handle metrics and events. InfluxData’s products are based on an open source core. This open source core consists of the projects Telegraf, InfluxDB, Chronograf, and Kapacitor—collectively called the TICK Stack. It is easy to deploy this on…