docker run -d --restart always --name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
-e LATEST=true \ 이미지를 latest버전으로 체크해라.
-e TZ=Asia/Seoul \
-e WATCHTOWER_NOTIFICATIONS=email \
-e WATCHTOWER_NOTIFICATION_EMAIL_FROM=이메일주소 \
-e WATCHTOWER_NOTIFICATION_EMAIL_TO=이메일주소 \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.mail.nate.com \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=id \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=ps \
-e WATCHTOWER_NOTIFICATION_EMAIL_DELAY=3 \
containrrr/watchtower:latest --debug --run-once --cleanup
--runonce가 한번실행해라 이고 --cleanup가 업데이트후 이미지삭제라는 문구로 이해했는데 맞을까요?
컨테이너는 총 9개인데 synobot 에러 때문에 무한반복중입니다.
어떻게 조취를 해야할까요?
time="2021-06-22T00:40:02+09:00" level=info msg="Watchtower 1.3.0\nUsing notifications: smtp\nChecking all containers (except explicitly disabled with label)\nRunning a one time update."
time="2021-06-22T00:40:20+09:00" level=info msg="Found new florider89/joplin-server:latest image (fda125455a4c)"
time="2021-06-22T00:40:20+09:00" level=info msg="Unable to update container \"/florider89-joplin-server\": exposed ports does not match port bindings. Proceeding to next."
time="2021-06-22T00:40:22+09:00" level=warning msg="Could not do a head request for \"acidpop-synobot:latest\", falling back to regular pull." container=/acidpop-synobot image="acidpop-synobot:latest"
time="2021-06-22T00:40:22+09:00" level=warning msg="Reason: registry responded to head request with \"401 Unauthorized\", auth: \"Bearer realm=\\\"https://auth.docker.io/token\\\",service=\\\"registry.docker.io\\\",scope=\\\"repository:library/acidpop-synobot:pull\\\",error=\\\"insufficient_scope\\\"\"" container=/acidpop-synobot image="acidpop-synobot:latest"
time="2021-06-22T00:40:26+09:00" level=info msg="Unable to update container \"/acidpop-synobot\": Error response from daemon: pull access denied for acidpop-synobot, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. Proceeding to next."
Waiting for the notification goroutine to finish