Hi everybody!
I’m making a decentralised hosting software, and I often get the question “is there a docker?” from people wanting to try it out. There isn’t so I have tried making one, but I don’t really know how to set it all up…
The soft is split in two:
-
A server that is connected to the internet (both ways, so a port forward is needed)
-
A command line utility
There is also a storage space (in some /data/ folder) and a database (a SQLite one living in some /db/ folder).
Compiling a docker image for the server seems somewhat easy, the user have to provide the two folders and forward the port I guess.
But the command line tool is where I have no idea how to make it not a user experience nightmare in a docker image. Should I publish the soft as a cli or should I try to integrate it into the/a docker image anyways? Security is of importance, so maybe people don’t want to run an “unknown” cli on their PC but would be okay if it’s all docker used.
Thank you all!
What language is the CLI written in?
Yes, running a CLI from inside a container can be a pain, but it’s not a big deal for the people asking.
I would just provide a trivial Dockerfile and see if anyone uses it.
It’s written in python.
Can it access files from outside its environment, are there any tricks for that?