docker run --rm -ti seanhoughton/indiserver:1.3.1
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
seanhoughton wrote: I've just finished building a working set of docker containers for indiserver. This includes both x86 and Raspbian images. I've tested it on both platforms without any problems.
For those of you who haven't used Docker before, it's a really nice way to encapsulate and deploy a service along with all of its dependencies. For example, to run the indiserver with all the simulators with a stock RPI you just need to run the following command (no downloading or installing needed other than installing docker-engine)
docker run --rm -ti seanhoughton/indiserver:1.3.1
When the process is stopped (with ctrl-c in this case) the container is removed and your system is left in the same state as before you started it. No bit-rot, no dependency hell, etc. The image is cached locally so future runs start almost instantly. If you want to try a different version just change the version tag of the image and start it.
Links
- source: github.com/seanhoughton/indi-docker
- x86: hub.docker.com/r/seanhoughton/indiserver/
- rpi: hub.docker.com/r/seanhoughton/rpi-indiserver/
If you find this useful let me know. If you've got any improvements please let me know.
Please Log in or Create an account to join the conversation.
Afaik, you can add a version tag to your docker image. The cool thing is, that due to container isolation, you can run different versions of the INDI library on the same hardware. Special care has to be taken if you change the container, e.g. changing the config file, then you have to commit those changes in order to ensure that the changes don't get lost. It works a bit like git ... Though docker use special Linux kernel features (namespaces), you can run docker on Windows (>= 10) as well. They use the new embedded Linux virtualization on Windows 10 (however currently limited on windows 10 pro...). When windows supports Ubuntu > 14.04, this could be an intereting option to run native indiserver on windws ... just a thought.knro wrote: What about updates and such? How are those handled?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.