Sign inSign up

f2hex/armhf-motion

By f2hex

•Updated almost 11 years ago

Docker image for motion software running on ARM HF architecture

Image
1

1.7K

f2hex/armhf-motion repository overview

⁠Dockerized version of motion

This is a size optimized image for running motion⁠ (a software motion detector).The image is created using a process that builds up the executable from the sources taken from the various repositories (from Github), including libx264⁠, ffmpeg⁠ and motion⁠ itself. The scripts used to build up the image are available on this repository⁠ along with the scripts used to test the Container. The image has been built and tested on a Odroid U3⁠ with Docker version 1.6.2. The image contains the following files:

.
|-- [-rw-r--r--]  Dockerfile
|-- [drwxr-xr-x]  etc
|   |-- [-rw-r--r--]  group
|   |-- [-rw-r--r--]  nsswitch.conf
|   `-- [-rw-r--r--]  passwd
|-- [-rw-r--r--]  image-tree.txt
|-- [drwxr-xr-x]  lib
|   |-- [drwxr-xr-x]  arm-linux-gnueabihf
|   |   |-- [-rwxr-xr-x]  libc.so.6
|   |   |-- [-rw-r--r--]  libdl.so.2
|   |   |-- [-rw-r--r--]  libm.so.6
|   |   |-- [-rw-r--r--]  libnss_compat.so.2
|   |   |-- [-rw-r--r--]  libnss_dns.so.2
|   |   |-- [-rw-r--r--]  libnss_files.so.2
|   |   |-- [-rwxr-xr-x]  libpthread.so.0
|   |   `-- [-rw-r--r--]  libz.so.1
|   `-- [-rwxr-xr-x]  ld-linux-armhf.so.3
`-- [drwxr-xr-x]  usr
    |-- [drwxr-xr-x]  bin
    |   |-- [-rwxr-xr-x]  ffmpeg
    |   |-- [-rwxr-xr-x]  ffprobe
    |   |-- [-rwxr-xr-x]  ffserver
    |   `-- [-rwxr-xr-x]  motion
    `-- [drwxr-xr-x]  lib
        |-- [drwxr-xr-x]  arm-linux-gnueabihf
        |   `-- [-rw-r--r--]  libjpeg.so.8
        `-- [-rwxr-xr-x]  libx264.so.148

7 directories, 20 files

⁠Quickstart

The motion config files are store under VOL_CONFIG path and the images produced by motion are storage under VOL_MEDIA path.

VOL_CONFIG="/mnt/survpad/media/test/config:/etc/motion"
VOL_MEDIA="/mnt/survpad/media/test/out:/media/video"
docker run \
  -i \
  -v $VOL_MEDIA \
  -v $VOL_CONFIG \
  -p 7899:7899 \
  f2hex/armhf-motion:latest \
  /usr/bin/motion -n -c /etc/motion/motion.con

Tag summary

Content type

Image

Digest

Size

26 MB

Last updated

almost 11 years ago

docker pull f2hex/armhf-motion