How do I know which docker bind mount is problematic for docker?
-
Hi,
I'm trying to setup the woodpecker-ci on my cloudron system. The server portion is working fine but I keep getting this error in woodpecker:
{"level":"warn","repo":"cloudron/woodpecker-ci","build":"8","id":"22","error":"rpc error: code = Unknown desc = Proc finished with exitcode 1, Error response from daemon: {\"status\":\"Bad Request\",\"message\":\"Binds must be under /app/data/\"}","time":"2022-10-22T15:02:14Z","message":"cancel signal received"}\The message is perfectly clear, but since I don't know very much about the inner workings of woodpecker, I actually don't know which volume it's trying to mount. Is there a way to find out it's trying to bind mount so that I can fix it?
-
R random_eric marked this topic as a question on
-
R random_eric has marked this topic as solved on
-
Assuming you use the Cloudron
dockeraddon, given the error message, you should see some logs about this in the system logs/box.log file mentioningOriginal bind mountsfollowing the mount details.@nebulon Thanks! I found what I was looking for in the logs.
It looks like it created a volume and then tried to mount it,
Original bind mounts: [ '0_3474360222739265561_default:/woodpecker' ]Would it be possible to allow docker volumes created in that docker context to be mounted?
-
R random_eric has marked this topic as unsolved on
-
R random_eric referenced this topic on
-
G girish marked this topic as a regular topic on
-
It is not difficult to find the problematic docker if you look at the log. You can also use a monitoring service https://www.host-tracker.com/en that will detect problems automatically and notify you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login