Both sides previous revision Previous revision Next revision | Previous revision |
docker_notes:init [2024-04-28 Sun wk17 11:30] – [Docker init Systems] baumkp | docker_notes:init [2024-05-25 Sat wk21 14:32] (current) – [s6 supervision rc system] baumkp |
---|
{{tag>linux docker init s6 s6-rc}} | {{tag>Alpine linux docker init s6 s6-rc}} |
======Docker init Systems====== | ======Docker init Systems====== |
There are a number of init systems used on docker containers, many are the defaults that ship with the standard Linux distributions, e.g. systemd which is particularly popular on the larger comprehensive distributions. | There are a number of init systems used on docker containers, many are the defaults that ship with the standard Linux distributions, e.g. systemd which is particularly popular on the larger comprehensive distributions. |
| |
When creating my own imaged I have generally is the S6-RC init system. Some examples: | When creating my own imaged I have generally is the S6-RC init system, most if not all have been built on the latest Apline Linux as base image. Some examples: |
*[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-dns#docker_-_dns_server|DNS (ISC Bind9)]] | *[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-dns#docker_-_dns_server|DNS (ISC Bind9)]] |
*[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-dhcp#docker_-_dhcp_server|DHCP server (ISC Kea)]] | *[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-dhcp#docker_-_dhcp_server|DHCP server (ISC Kea)]] |
*[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-deluge#docker_deluge_image_service|Torrent server (Deluge)]] | *[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-deluge#docker_deluge_image_service|Torrent server (Deluge)]] |
*[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver#docker_mailserver|Mail server (Postfix and Dovecot)]] | *mailserver (yes, while I have got this to operate it needs some/a lot of cleanup and consolidation, including the main wiki documenation) |
*[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver#mariadb|Mail server database and web interface (mariadb php nginx)]] | *[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver#docker_mailserver|Mail server (Postfix and Dovecot)]] |
*Web Mailserver (Roundcube, postgresdb) | *[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver#mariadb|Mail server database and web interface (mariadb php nginx)]] |
| *[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver#roundcube_webmail|Web Mailserver (Roundcube, postgresdb)]] |
| |
I have also used supervisord system where it was simple to follow the formula from the image supplier to add functionality. Some examples: | I have also used supervisord system where it was simple to follow the formula from the image supplier to add functionality. Some examples: |
*Nextcloud (only example) | *[[https://wiki.kptree.net/doku.php?id=docker_notes:docker-nextcloud#nextcloud_with_supervisord|Nextcloud (only example)]] |
| |
| There are other init systems out there that I have not looked into, including a number of legacy init systems that are no longer supported. |
| |
=====s6 supervision rc system===== | =====s6 supervision rc system===== |
| |
Reference: | Reference: |
*[[https://github.com/just-containers/s6-overlay| just-containers/s6-overlay]] (Version 3.1.6.2 as of 2023-12-30) | *[[https://github.com/just-containers/s6-overlay| just-containers/s6-overlay]] (Version 3.1.6.2 as of 2023-11-21, last checked 2024-04-28) |
*[[https://skarnet.org/software/s6-rc/s6-rc-compile.html|The s6-rc-compile program]] Describes the functionality of the S6-rc system | *[[https://skarnet.org/software/s6-rc/s6-rc-compile.html|The s6-rc-compile program]] Describes the functionality of the S6-rc system |
*[[https://forum.level1techs.com/t/easy-to-follow-beginner-guide-on-s6-starter-pack/178411|Easy to follow Beginner Guide on s6 Starter Pack]] | *[[https://forum.level1techs.com/t/easy-to-follow-beginner-guide-on-s6-starter-pack/178411|Easy to follow Beginner Guide on s6 Starter Pack]] |
| |
| It seems that the authors source pages [[https://skarnet.org|skarnet.org]] are often down or otherwise slow and reliable. An alternative mirror is [https://skarnet.github.io/|skarnet.github.io]] |
| |
---- | ---- |