Adding a docker motioneye as additional camera

181 views
Skip to first unread message

Ben Pietras

unread,
Apr 21, 2021, 7:45:36 AM4/21/21
to motioneye

Hello!

I run a bunch of pi0s running motionOS - works great.
I have a pi2 doing something else (auto irrigation), so looked into running motioneye in docker.

sudo docker run --name="motioneye" \
    -p 80:80 \
    -p 8765:8765 \
    --hostname="motioneye" \
    -v /etc/localtime:/etc/localtime:ro \
    -v /etc/motioneye:/etc/motioneye \
    -v /var/lib/motioneye:/var/lib/motioneye \
    --restart="always" \
    --detach=true \
    --device=/dev/video0 \
    ccrisan/motioneye:master-armhf

I can access the camera over the network with ip:8765 (all good)
I changed the docker motioneye to have the same admin pass.

However, when attempting to add the docker motioneye to the rest, I get:
Camera
Failed to connect to 192.168.1.131 port 80: Connection refused

Is there another port I should be forwarding here?

Cheers!

StarbaseSSD

unread,
Apr 21, 2021, 7:51:07 AM4/21/21
to motioneye
Port 80 is not used. You need port 8081 for the first camera in the docker
Confirm by going to 8765 and look at Settings, Video Streaming, Streaming URL
Reply all
Reply to author
Forward
0 new messages