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. Support
  3. apt install inside app container

apt install inside app container

Scheduled Pinned Locked Moved Solved Support
5 Posts 3 Posters 1.2k 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.
  • U Offline
    U Offline
    uiharu
    wrote on last edited by
    #1

    I'm experimenting with ocdownloader in Nextcloud, which requires installing new packages. I'm not familiar with docker: the app container seems to be read-only and doesn't welcome apt install; is there a way around this? Thank you 🙂

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

      @uiharu Right, app container are run in read-only file system. This is done for security and also our update model relies on a immutable code. Unfortunately, I don't have a solution/workaround for this at the moment.

      M 1 Reply Last reply
      0
      • U Offline
        U Offline
        uiharu
        wrote on last edited by
        #3

        thanks for answering:)

        1 Reply Last reply
        0
        • girishG girish

          @uiharu Right, app container are run in read-only file system. This is done for security and also our update model relies on a immutable code. Unfortunately, I don't have a solution/workaround for this at the moment.

          M Offline
          M Offline
          merox
          wrote on last edited by
          #4

          @girish Hi, you still don't have any solution for this problem ? Thank you !

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

            @merox If you want to experiment with installing new packages, I think the best bet is to build your own package. The source code for the nextcloud package is at http://git.cloudron.io/cloudron/nextcloud-app . You can build that package by following the tutorial at https://cloudron.io/documentation/custom-apps/tutorial/

            What you would do is to add the additional package you want at https://git.cloudron.io/cloudron/nextcloud-app/blob/master/Dockerfile#L6 .

            Would that work?

            1 Reply Last reply
            0
            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