v4l2rtspserver icon indicating copy to clipboard operation
v4l2rtspserver copied to clipboard

Latest Docker image won't install on RPI zero (original v1 hardware).

Open jshep321 opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug Docker image won't install on RPI zero (original v1 hardware).

To Reproduce Steps to reproduce the behavior:

  1. installed docker on raspberry pi OS (aka raspbian)
  2. docker pull mpromonet/v4l2rtspserver:latest
  3. or try with docker pull --platform linux/arm/v6 mpromonet/v4l2rtspserver:latest

Expected behavior image should pull since there is a linux/arm/v6 version. In fact there are two, which might be the problem?

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): RPI Zero v1, bullseye uname -a: Linux raspberrypi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux

jshep321 avatar Apr 29 '24 15:04 jshep321

Hi,

It seems arm/v7 & arm/v6 are mixed. Did you try to pull mpromonet/v4l2rtspserver:latest-arm32v6 ?

Best Regards, Michel.

mpromonet avatar May 03 '24 08:05 mpromonet

Hi,

I made a test on a Raspberry B, it is working since https://github.com/mpromonet/v4l2rtspserver/commit/ef86de39227e0c97ea27de4955cdc6589355e266. There is one image arm/v6 and one image arm/v7.

Best Regards, Michel.

mpromonet avatar May 06 '24 15:05 mpromonet

Yep that is the issue -- it pulls the v7. When I specify the v6 it runs as expected. Thanks! As a docker novice, isn't there a way to pull the correct architecture automatically?

jshep321 avatar May 11 '24 17:05 jshep321

FYI for anyone looking here is a working docker compose file:

services: rtspstreamer: container_name: rtspstreamer privileged: false restart: unless-stopped image: mpromonet/v4l2rtspserver:latest-arm32v6 command: -F3 -v #command line parameters devices: - /dev/video0:/dev/video0 ports: - "8554:8554" #RTSP

jshep321 avatar May 11 '24 18:05 jshep321