docs
tini
docs | tini | |
---|---|---|
12 | 26 | |
4,956 | 9,263 | |
0.5% | - | |
9.8 | 0.0 | |
7 days ago | about 1 year ago | |
Shell | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docs
- The Tailscale Universal Docker Mod
-
Modern Perl Catalyst: Docker Setup
I will recommend you review the documentation for the official Postgresql docker images which you can read here.
- Changing parameter during container "boot"
-
Using PostgreSQL Official Docker image on Windows 10 and Ubuntu 22.10 kinetic.
This is the full documentation for these images. Please note, this page has links to Docker official documents on volumes, etc., which are necessary to run images such as this.
-
Dockerizing a Node.js / Express app from the very first [Part 2]
We've just followed the official documentation to add a PostgreSQL database server. This will act as an application container, as our app will soon be depended on it. And in order to make sure that the database container is always started whenever we start our application container, we've added a new depends_on key to the app service and let it know which other service(s) it, well, depends on. This will make sure that the database server is up and running before the app. You may also have noticed that we've mounted volume to our database server's datapath a bit differently. This is known as "named volume". We'll discuss it a bit more in another part, it's not relevant to what we're learning here.
-
Best way to sync and share files between machines
Nextcloud isn't hard to setup, follow the official doc https://github.com/docker-library/docs/blob/master/nextcloud/README.md
-
Nextcloud setup
Looking at the setup for this (link here: https://github.com/docker-library/docs/blob/master/nextcloud/README.md), I am starting to understand a lot of the recent posts that we've seen & how much of a mess it still is :(
-
How to begin with Docker if I want the best security for my websites?
Coming back to nextcloud, the official readme of the nextcloud image has a few notes on how to set up both nextcloud versions.
-
How to hide authorisation credentials in nginx.conf?
Use the native command envstubst to replace the Auth Tokens in your Config File before starting NGINX. Example: https://github.com/docker-library/docs/tree/master/nginx#using-environment-variables-in-nginx-configuration-new-in-119
-
Stuck with docker-compose, Nextcloud and Nginx
It's not clear why you want to split the web server (nginx) and the app (nextcloud). However, if you do have a good reason, you're in luck, they have a compose file that does just that: https://github.com/docker-library/docs/blob/master/nextcloud/README.md#base-version---fpm (version 2, but it'll work)
tini
- Anakin – Automatically Kill Orphans
-
Freenginx.org
yes busybox httpd or civetweb is even smaller, both around 300kb.
for tini you mean https://github.com/krallin/tini? how large is your final docker image, why not just alpine in that case which is musl+busybox
-
🚨Avoid this when running containerized applications in production
Tini, a useful process manager for containerized apps
-
Should You Be Scared of Unix Signals?
Ah gotcha. I believe it can be baked into images as well, per the entrypoint example in the readme: https://github.com/krallin/tini
Not sure how this will fare IRL in k8s as I haven’t much experience there. It’s still silly that this is the default behavior where you need something like Tini, but I digress.
-
The Tailscale Universal Docker Mod
To be fair, even for running a single process the pitfalls are real. I've been seeing Tini[1] a lot for these situations.
I just read in the README that Tini is included by Docker since 1.13 if using --init flag.
[1] https://github.com/krallin/tini
-
docker run --init flag doesn't seem to work on Mac
The default init process used is the first docker-init executable found in the system path of the Docker daemon process. This docker-init binary, included in the default installation, is backed by tini.
- ส่อง Dockerfile for Go
- Learning by doing: An HTTP API with Rust
-
Silver bullet: selfhostable personal knowledge management system
AFAIK It's for the init process to reparent zombie processes. See TINI
-
How to implement pods that gracefully shutdown
The second easiest (and most common when your entry point is a bash script) is to use a fake init tool like tini
What are some alternatives?
docker - ⛴ Docker image of Nextcloud
dumb-init - A minimal init system for Linux containers
docker-socket-proxy - Proxy over your Docker socket to restrict which requests it accepts
systemd - The systemd System and Service Manager
sqitch - Sensible database change management
inotify-tools - inotify-tools is a C library and a set of command-line programs providing a simple interface to inotify.
ContactsDemo - Example Catalyst Application
torsocks - Library to torify application - NOTE: upstream has been moved to https://gitweb.torproject.org/torsocks.git
maildev - :mailbox: SMTP Server + Web Interface for viewing and testing emails during development.
s6 - The s6 supervision suite.
tinybastion - wireguard bastion with OIDC auth
dualsensectl - Linux tool for controlling PS5 DualSense controller