Category : raspberry-pi

I am trying to build a Dockerfile on my Raspberry Pi 4 (Pi OS 10 (buster), armv7l). I am using docker buildx build . which starts fine but runs into problems fetching packages: [build 3/5] RUN apk –no-cache add git build-base: #6 0.673 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz #6 0.735 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) ..

Read more

I’m trying to install an opencv2 for Docker container in my Raspberry Pi with the newest OS image. Here is my Dockerfile # syntax=docker/dockerfile:1 FROM python:latest WORKDIR /app COPY req.txt req.txt RUN apt-get update RUN apt-get install ffmpeg libsm6 libxext6 -y RUN pip3 install -r req.txt COPY . . CMD ["python3", "main.py"] requirements contains opencv-python-headless==4.5.4.58 ..

Read more

I’m using a docker image arm64v8/postgres:14.0-alpine which works perfectly well on my local Pi4, but I would like to change the pg_hba.conf (changing some IP settings). My docker-compose file (extract) looks like this: version: ‘2’ services: postgres: image: arm64v8/postgres:14.0-alpine volumes: – database:/var/lib/postgresql/data ports: – 5432:5432 restart: unless-stopped environment: – POSTGRES_PASSWORD=xxx – POSTGRES_DB=xxx – POSTGRES_USER=xxx networks: ..

Read more

postgresql on my rasbian aways have got wrong time! but not the same with nginx contanner, what’s wrong with my docker? Nginx: [email protected]:~$ docker run -it -e TZ=Asia/Shanghai nginx date Mon Oct 25 14:12:45 CST 2021 Postgres: [email protected]:~$ docker run -it postgres:alpine date Tue Jun 30 15:19:12 UTC 2071 Postgres localtime: [email protected]:~$ docker run -it ..

Read more