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
  • 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 | 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 497 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
          0
          • 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
            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