Offline updates for NS8

Hello everyone!

I am using NS8 in an isolated, secure and restricted network, without Internet access.
Is there any way to update NS8 offline?

Thank you in advance for your help!

Best regards,
Gabriel

There is a solution for local Cache f these kind of Data, Mostly used for windows updates, but linux also works too, Its something i know that can be hosted in NS, i just dont remember the name, that would work for you… it ussually used in LAN parties.

Something like LANCache or LaNCommander

1 Like

@davidep How can @GG_jr setup a local fully controlled NS8nrepo please? Apps less then certification 3 are off limits I guess. Let’s think military grade here.

i am sure for repo apps, a tool like forgejo would still work, sync from github to local repo, and use the Defined repo to pull Apps, Regarding NS8 official and core apps, i think that needs to be handled from NS side.

You could use a proxy, the following worked in first tests:

1 Like

Hi Garbriel,

a working connection is required for updates (System requirements — NS8 documentation), even to feed a cache of images.

What do you mean by “Offline updates”? I remember a time when updates were done with floppy disks…

2 Likes

First of all, thank you all for your attention.

@davidep : almost. :joy: only that a usb stick or even an external usb hdd will be used

Some examples that fit my needs:

Best regards,
Gabriel

1 Like

It goes beyond the current requirements. That doesn’t mean it’s impossible to implement, but rather that it’s an open research area.

We currently use a drop-in file to override docker.io and work around its rate limits:
https://github.com/NethServer/ns8-core/blob/main/core/imageroot/etc/containers/registries.conf.d/800-nethserver.conf

The same Podman feature can be used to configure a local registry service that overrides the whole public infrastructure. For more details, see man containers-registries.conf.d.

Besides the registry, a local repository is also needed to host a custom repodata.json file containing the image index. Software repositories | NS8 dev manual

1 Like