설치 raspberry pi, ubuntu server 23.10, docker, Portainer
- OS 업데이트, 업그레이드(옵션). ``` sudo apt update && sudo apt upgrade -y sudo apt autoremove ``` - 재시작. ``` sudo shutdown -r now sudo reboot ``` - docker 설치. ``` curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh ``` - 도커 상태 확인 ``` docker version sudo systemctl status docker ``` - sudo 명령어 없이 docker를 실행하기 위한 권한 설정. ``` sudo usermod -aG docker $USER groups ${user} ``` - portainer 설치. ``` sudo docker pull portainer/portainer-ce:latest ``` portainer 실행. ``` sudo 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-ce:latest ``` - changedetection.io 설치. ``` docker pull dgtlmoon/changedetection.io docker kill $(docker ps -a -f name=changedetection.io -q) docker rm $(docker ps -a -f name=changedetection.io -q) docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io doc...