Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to have the webmin as a separated docker container #1463

Open
pferronato opened this issue Sep 12, 2024 · 1 comment
Open

ability to have the webmin as a separated docker container #1463

pferronato opened this issue Sep 12, 2024 · 1 comment

Comments

@pferronato
Copy link

Is your feature request related to a problem? Please describe.
I'd like to deploy the webmin as a docker container, so I don't have to install it manually

Describe the solution you'd like
create a container
share a folder with netatalk where the config folder is accessed

Describe alternatives you've considered
to restart netatalk after the config changes, you can issue a command to the netatalk container
To do this you must install Docker daemon in the webmin container by mounting the Docker socket

docker run -v /var/run/docker.sock:/var/run/docker.sock -it webmin-container-name

then you can run docker commands from webmin like:

docker kill --signal=SIGHUP netatalk-container-name (or id)

Be aware that exposing docker sockets is considered insecure in a production environment or in an uncontrolled network.

Additional context
optionally you can add a parallel task in the netatalk container that restarts it when the config file changes

@rdmark
Copy link
Member

rdmark commented Sep 18, 2024

Thanks for filing the ticket. For posterity, this came out of a discussion thread over at https://68kmla.org/bb/index.php?threads/netatalk-2-4-0-available.47708/post-540976

The thread has some more concrete ideas potential solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants