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 | Demo | Docs | Install
J

jenschude

@jenschude
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Private docker registry in Cloudron
    J jenschude

    For the sake of completeness as it may happen to others:

    We finally identified an issue in the network configuration, that isolated the internal VM network from the public network. Disabling the isolation solved the issue at hand. We are now figuring out another way to isolate the VM itself.

    Description

    We use Cloudron 9.0.10. Since yesterday i try to setup in cloudron a docker registry where i can put my application images and to pull from.

    Adding GitHub or docker.io registries is working. But i can't add a registry hosted on cloudron itself. I tried it with Cloudron Container Registry. I tried it through gitea. We also tried to add a gitea container registry from another cloudron instance to this cloudron server. It always fails with "socket hangup".

    Steps to reproduce

    • Add Cloudron private registry with users managed through cloudron

    • System -> Docker -> Add registry

    • use docker registry address

    • use cloudron user credentials

    • save

    Troubleshooting Already Performed

    • Multiple reinstalls with different configurations.

    • Used gitea instead of cloudron container registry

    • docker login locally is working against cloudron container registry and gitea

    Used a testing script locally to check the checkAuth method from the docker registry form.

    See https://git.cloudron.io/platform/box/-/blob/master/src/dockerregistries.js?ref_type=heads#L67

    import docker from 'dockerode';
    
    const connection = new docker({ socketPath: 'some/docker.sock', timeout: 3000 });
    
    const result = await connection.checkAuth({
        serverAddress: 'git.example.com',
        username: 'root',
        password: 'somepassword'
    })
    
    console.log(result);
    

    This works locally. But in the form it doesn't and always fails with "socket hangup".

    I also tried internal container names and IPs but it seems they are not valid hostnames for this method here: https://git.cloudron.io/platform/box/-/blob/master/src/dockerregistries.js?ref_type=heads#L55

    System Details

    Cloudron version
    9.0.10
    Ubuntu version
    Ubuntu 24.04.3 LTS Linux 6.8.0-87-generic
    Vendor
    QEMU
    Product
    Standard PC (i440FX + PIIX, 1996)
    CPU
    16 Core "AMD EPYC 7352 24-Core Processor"
    Memory
    67.42 GB RAM & 8.59 GB Swap

    Support docker registry docker
  • Login

  • Don't have an account? Register

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