Skip to content

Instantly share code, notes, and snippets.

@ayxos
Last active December 18, 2018 13:00
Show Gist options
  • Save ayxos/1f62c4e4d528890842f5a152d74ddab5 to your computer and use it in GitHub Desktop.
Save ayxos/1f62c4e4d528890842f5a152d74ddab5 to your computer and use it in GitHub Desktop.
Docker images for Rpi
# RPI monitor
docker run --device=/dev/vchiq \
--device=/dev/vcsm \
--volume=/opt/vc:/opt/vc \
--volume=/boot:/boot \
--volume=/sys:/dockerhost/sys:ro \
--volume=/etc:/dockerhost/etc:ro \
--volume=/proc:/dockerhost/proc:ro \
--volume=/usr/lib:/dockerhost/usr/lib:ro \
-p=8888:8888 \
--name="rpi-monitor" \
--restart always \
-d \
michaelmiklis/rpi-monitor:latest
# portainer
docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
# prometheus RPI
docker run -d -p 9090:9090 --restart always -v /home/USER/projects/prometheus.yml:/bin/prometheus.yml evns/rpi-prometheus:v2.1.0
# mongo RPI
docker run -it -p 27017:27017 -d --restart always --name mongodb nonoroazoro/rpi-mongo
# mongo
docker run -p 27017:27017 -d --name mongodb mongo:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment