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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Docker Socket Proxy Support in Cloudron

Docker Socket Proxy Support in Cloudron

Scheduled Pinned Locked Moved Solved Nextcloud
5 Posts 3 Posters 1.4k Views 3 Watching
  • 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.
  • firmansiF Offline
    firmansiF Offline
    firmansi
    wrote on last edited by
    #1

    I try to use AppAPI and deploy with default configuration that configure the host of docket socket proxy in nextcloud-appapi-dsp:2375

    When I try to connect the daemon then it seems it fails

    Is this procedure supported in Cloudron?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      Not sure what AppAPI is but you want nextcloud to talk to deploy containers via Docker? This seems like a big security risk, no? Nextcloud can delete other apps and inspect all other containers etc completely breaking isolation.

      1 Reply Last reply
      0
      • firmansiF Offline
        firmansiF Offline
        firmansi
        wrote on last edited by
        #3

        Actually it's a new feature in NC 30, please refer to this documentation https://docs.nextcloud.com/server/latest/admin_manual/ai/app_api_and_external_apps.html

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          I had a quick look but this is essentially launching containers via docker API and exposing the docker socket to nextcloud (PHP). I think at Cloudron level, we can't support this. I recommend setting up a separate VM with docker and then connect nextcloud to run containers there with TLS . See https://github.com/nextcloud/docker-socket-proxy?tab=readme-ov-file#docker-with-tls . This way nextcloud doesn't interfere with other containers. it's quite a big security risk to expose docker socket to apps.

          1 Reply Last reply
          1
          • firmansiF Offline
            firmansiF Offline
            firmansi
            wrote on last edited by
            #5

            Thanks @girish for the info, my question is answered

            1 Reply Last reply
            0
            • nebulonN nebulon marked this topic as a question on
            • nebulonN nebulon has marked this topic as solved on

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search