安裝Docker 在樹梅派上
http://blog.itist.tw/2017/06/how-to-install-docker-ce-with-raspbian-jessie.html
參考網址
https://www.raspberrypi.org/forums/viewtopic.php?t=132503
https://linuxize.com/post/how-to-remove-docker-images-containers-volumes-and-networks/
https://datarhei.github.io/restreamer/docs/guides-multiple-restreamer.html
https://datarhei.github.io/restreamer/docs/installation-linux-arm.html
常用指令
列出container
docker container ls -a
停止它
docker stop 3f6d5dae6f28 ace273d96b63
刪除它
docker container rm 3f6d5dae6f28 ace273d96b63
清除所有
docker system prune –all –volumes
清除所有
docker container prune
Raspberry pi加入RTSP轉換WEB功能
docker run -d --restart always \ --name Cam1 \ -e "RS_USERNAME=username" -e "RS_PASSWORD=password" \ -p 8091:8080 -v /mnt/restreamer/db:/restreamer/db \ datarhei/restreamer-armv7l:latest docker run -d --restart always \ --name Cam2 \ -e "RS_USERNAME=username" -e "RS_PASSWORD=password" \ -p 8092:8080 -v /mnt/restreamer/db:/restreamer/db \ datarhei/restreamer-armv7l:latest
Ubuntu 加入RTSP轉換WEB功能
docker run -d --restart always \ --name Cam1 \ -e "RS_USERNAME=username" -e "RS_PASSWORD=password" \ -p 8091:8080 -v /mnt/restreamer/db:/restreamer/db \ datarhei/restreamer:latest docker run -d --restart always \ --name Cam2 \ -e "RS_USERNAME=username" -e "RS_PASSWORD=password" \ -p 8092:8080 -v /mnt/restreamer/db:/restreamer/db \ datarhei/restreamer:latest