-
I'm starting to investigate using Watchtower to automate updates. The process works fine as I update my Docker Hub images; it reaches out and updates the local image. However, the volume doesn't change (which makes sense). Following this post: #383, I see it's possible to do a "docker volume prune" as a post update event. When I do this, it executes the command and exits with a 127 error code, and does not do the prune. I tried putting the absolute path to Docker in the command, but continues with the same error. Here is my docker-compose.yml file:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi there, afaik hooks are running inside the container. @simskij I see this is your suggestion. Will this work? I guess you already tried Remove attached volumes flag, right? |
Beta Was this translation helpful? Give feedback.
-
I appreciate it! Thank you again for you help. |
Beta Was this translation helpful? Give feedback.
Hi there,
afaik hooks are running inside the container. @simskij I see this is your suggestion. Will this work?
I guess you already tried Remove attached volumes flag, right?