Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    How do I know which docker bind mount is problematic for docker?

    App Packaging & Development
    3
    4
    129
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      random_eric App Dev last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Assuming you use the Cloudron docker addon, given the error message, you should see some logs about this in the system logs/box.log file mentioning Original bind mounts following the mount details.

        R 1 Reply Last reply Reply Quote 0
        • Topic has been marked as a question  R random_eric 
        • Topic has been marked as solved  R random_eric 
        • R
          random_eric App Dev @nebulon last edited by

          @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?

          1 Reply Last reply Reply Quote 0
          • Topic has been marked as unsolved  R random_eric 
          • Referenced by  R random_eric 
          • Topic is now a regular thread  girish girish 
          • S
            Santoz last edited by Santoz

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB