Changes

From Amahi Wiki
Jump to: navigation, search
4 bytes added ,  13:03, 28 August 2017
'''NOTE:''' Please note that adding apps might require knowledge about docker and docker-compose and discussing those is out of the scope of this documentation though the links mentioned below might be useful.
* [https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/#container-and-layers Container and Layers]
* [https://docs.docker.com/compose/overview/ Docker Compose]
* [https://docs.docker.com/engine/admin/start-containers-automatically/ Restart Policies].
 NOTE: Please note that adding apps might require knowledge about docker and docker-compose and discussing those is out of the scope of this documentation though the links mentioned below might be useful. * [https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/#container-and-layers Container and Layers] * [https://docs.docker.com/compose/overview/ Docker Compose] * [https://docs.docker.com/engine/admin/start-containers-automatically/ Restart Policies]. Apps run as containers which are managed by docker. If docker daemon is shut down or stopped then the app will also stop. If the container crashes for some reason then it has to be restarted. Using restart policies we can manage this.
Now once we are done with making a docker-compose file we can test it on our local system to see if it is working properly or not. Once that's done, we can go ahead and add this image to amahi.org
For more examples of install scripts and docker-compose files of different apps please refer to [https://github.com/vik-y/amahi_images amahi_images repo.]
 
==Brief Overview of Code==
The installation process remains the same and follows the same flow of control as before.
12,424

edits