Replies: 7 comments 8 replies
-
|
Docker is planned, however simply making the image isn't the challenge. Many people are going to want this to run on top of UnRAID/Synology/QNAP/TrueNAS/FreeNAS/etc. These systems already have modern SMB/CIFS stacks running, so a simple RetroNAS Docker container will conflict with that and not work. I'll need to test various bridge/macvlan options in Docker primarily, but then also in each of those systems. Once that works without too many bugs, the Docker approach will definitely be happening. As a short term workaround, if your NAS supports VMs, you can install a Debian 11 Bullseye VM and run RetroNAS in that. There's a rough guide on the wiki for VirtualBox on PC, which will be very similar to how any virtualisation system works. Just make sure you use a "bridge" network, and not a "NAT" network. |
Beta Was this translation helpful? Give feedback.
-
|
Just checked with someone more knowledgeable than me to be sure I was right before chiming in... but for any IP or Hostname based file transfer protocol, docker should already be fine to use without any advanced configuration. IPv4 forwarding is somewhat simple to setup --> https://docs.docker.com/network/bridge/#enable-forwarding-from-docker-containers-to-the-outside-world Docker also creates a virtual MAC address for each container, so if you have ipv4 configured and have a very thin dhcp client on the container it should be relatively plug and play and widely compatible with any network, regardless of the docker host's configuration. |
Beta Was this translation helpful? Give feedback.
-
|
As a note for a docker image, I managed a PS3NetSRV image for Unraid and eventually had issues with it on Unraid. Just be aware this might be an issue that pops up eventually. |
Beta Was this translation helpful? Give feedback.
-
|
I am sitting here trying to conceptualise this, what is the preference here?
curious because arguably the latter fits with the current tool model moreso than the former. |
Beta Was this translation helpful? Give feedback.
-
|
We were having discussions around this internally a while back and made some notes on it but I don't think we linked it here, docker-aio for completeness since I also can't remember if i linked these here,
also I woke up to some movement from @natewalck in this space which looks interesting |
Beta Was this translation helpful? Give feedback.
-
|
Please note: All further docker discussion will be moved to our dist repo |
Beta Was this translation helpful? Give feedback.
-
|
I think a halfway point between VMming and app-containing (Docker, podman) could be reached by providing instructions to deploy retronas to a "system container" instance provided from a manager like Incus. Incus isn't available for most of the platforms mentioned in the 1st comment but its available from the stock Debian repositories so its already available to the current deployment targets for running retronas. Incus containers are equivalent from an isolation perspective to docker/podman ones but aren't rigidly managed in terms of having a single app process that must stay alive - it watches a contained init manager (systemd, for Debian) which in turn runs all services that ansible would set up once its launched in the container. Incus provides options for dedicating disks to the incus container and bind-mounting folder(s) from the host's storage. As for networking, the choice is probably between converting the NAS's primary interface into a bridge which Incus can then add its containers to, or having Incus create & manage a macvlan with the ethernet interface as its parent. I don't think the downsides of macvlan (no networking between host and container) hurt the retronas usecases at all and an administrator can locally manage and import files from other storages using a shared mount and/or shelling into the incus container. This setup means there is some service duplication between host & retronas, at least two Debian systemds, probably two sambas, but I think the different clients you have connecting to your host's modern samba vs the retronas warrants the additional memory usage in exchange for not having to keep both groups' samba configs meshed properly. Eventually we'll be at a point where we'll have to run a custom build of samba as upstream strips out legacy features.... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If RetroNAS is to be platform agnostic (ie ARM and x86) then a docker image would be awesome to have. I used to run unRAID for my local server before I went to cloud storage but being able to add a Docker to that with RetroNAS functionality would be a great option.
Beta Was this translation helpful? Give feedback.
All reactions