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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Is it possible to install a docker image direct from docker hub?

Scheduled Pinned Locked Moved Solved Support
docker
12 Posts 6 Posters 728 Views
    • 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.
  • E Offline
    E Offline
    eddowding
    wrote on last edited by girish
    #1

    ..rather than download > build > push?

    eg https://hub.docker.com/r/ctadeu/calendso and not https://github.com/calendso/docker

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to eddowding on last edited by
    #2

    @eddowding running upstream docker images usually does not work, since Cloudron will put various bits of the filesystem into read-only mode for security and consistency reasons. So to have a reliable app instance, you would have to adjust the upstream Dockerfile and make sure all data ends up in either /app/data and/or the addon database Cloudron provides. Otherwise the backups and restore features will not work.

    timconsidineT 1 Reply Last reply
    1
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    replied to nebulon on last edited by
    #3

    @nebulon ... but presumably pulling a built-for-cloudron app direct from docker hub would work to avoid the build / push steps ?

    e.g. if I do a custom build for myself, but make my repo on docker hub available to others

    girishG 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to timconsidine on last edited by
    #4

    @timconsidine said in Is it possible to install a docker image direct from docker hub?:

    @nebulon ... but presumably pulling a built-for-cloudron app direct from docker hub would work to avoid the build / push steps ?

    yes, that definitely works. all the appstore app images are stored in docker hub as well.

    1 Reply Last reply
    0
  • E Offline
    E Offline
    eddowding
    wrote on last edited by
    #5

    Interesting. So with that in mind, is there / could there be a 'community' list of images somewhere?

    timconsidineT 1 Reply Last reply
    2
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    replied to eddowding on last edited by
    #6

    @eddowding By chance I discovered some custom apps I built were listed as public. Wasn't my intention but no problem. So I will find 2 or 3 ones I have done and share their links later. Just in case it saves someone some time or stress.

    timconsidineT 1 Reply Last reply
    1
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    replied to timconsidine on last edited by timconsidine
    #7

    Not sure this the right place to post this, but it's kinda on topic, and don't know where else (tell me where or feel free to move it).
    These are a couple of custom packages I built.
    I take zero credit for them : they are the work of other talented people. I just built them.

    Any dates in the 'tags' are the date I built them, not the the date of the underlying package. They may not be latest available

    My understanding is they can be installed in your cloudron instance - without building / pushing first - by :
    cloudron install --image <repo-name>:<tag-name>

    PaperlessNG (@doodlemania2 ) : tcmbp132021/paperless-ng:derek210709

    HomeAssistant (@atridad) : tcmbp132021/home-assistant:20210714

    Mailpiler (@vladimir-d) : tcmbp132021/mailpiler:20210715
    (haven't got this configured yet, but it installs)

    Directus9 (@atridad ) : tcmbp132021/directus9

    E 1 Reply Last reply
    1
  • E Offline
    E Offline
    eddowding
    replied to timconsidine on last edited by
    #8

    Thanks, TIm!

    When I try this I get:

    $ cloudron install --image tcmbp132021/paperless-ng:derek210709
    > No CloudronManifest.json found
    
    timconsidineT mehdiM 2 Replies Last reply
    0
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine App Dev
    replied to eddowding on last edited by
    #9

    @eddowding errrr ...
    I'll have to look into it, apologies

    1 Reply Last reply
    0
  • mehdiM Offline
    mehdiM Offline
    mehdi App Dev
    replied to eddowding on last edited by
    #10

    @eddowding I think you have to pull the git repo and do it from there. There has to be a CloudronManifest.json in the local directory when you do this.

    E 1 Reply Last reply
    1
  • E Offline
    E Offline
    eddowding
    replied to mehdi on last edited by
    #11

    Thank you all.

    I guess.. I think this is "all a bit complicated" to learn in the time available. I may revisit later, but for now I think some feedback / an output is that it would be useful to:

    • be able to install just by giving a github repository
    • provide a simple / guided Manifest creator form (with some best-guess defaults)

    I appreciate that these things are easier said than done, and may for all I know be entirely impossible / wrong thing to ask for.

    ? 1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to eddowding on last edited by A Former User
    #12

    @eddowding Plug: https://git.atridad.dev/CTPR

    Instructions: https://git.atridad.dev/CTPR/docs/ctpr-documentation

    1 Reply Last reply
    3

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.