Closed Centterm closed 2 years ago
Needn't and not possible
Could you please be so kind and elaborate your statement a bit more?
"Needn't" might be a relative term. Personally, I would "need" something like this. The "let it live in screen" approach is not really feasible on a server. Imagine every server-service would require something like this. I get that for you development this would not help, but for the actual user using the software in "production"?
Why is it not possible? What besides the above mentioned hurdles prevent dockerizing AltServer?
No, because I don't have time.
It's a SINGLE FILE program without any dependencies, so docker is not needed at all Docker is not possible because mDNS relies on avahi, and avahi does not work with docker.
No, because I don't have time.
Who said you should do it? It would have been a pleasure to try this, report back to you and support this project with submitting a PR in case you would have welcomed it.
It's a SINGLE FILE program without any dependencies, so docker is not needed at all
It depends on avahi, netmuxd and a custom anisette server. Dependency management is not the only use case for docker. Maybe I don't want to give access to all my files? Maybe it would be much easier to simply run docker-compose up
than writing custom systemd services or leaving it running in screen/tmux on a headless server? Many other home-lab applications live in docker and thus managed from one point.
mDNS relies on avahi, and avahi does not work with docker.
I don't think this quite correct. Broadcast traffic can be made available to docker containers with either the host mode, a macvlan or reflecting the broadcast (something like mdns-reflector).
Anyway, while I disagree with your general "Needn't and not possible", I totally get that this is your project and you are simply not interested.
A docker image would be invaluable to me so I could run the server on my Synology NAS.
I would also be interested in a Docker image.
Why is this closed? A Docker image for RPi would be fantastic.
Hello,
I usually manage all my homelab services with docker. It would be awesome to manage AltServer like all my other services in docker as well. That would be much cleaner solution than running everything in tmux/screen or as systemd services. So what would it take to get a docker image with a proper example compose file and manual - is it even feasible at all?
There are some hurdles but none is a real showstopper:
docker run -rm -it
ordocker exec
on an existing container. Maybe even docker secrets could help.device
keyWhat are your thoughts?