tini
inotify-tools
Our great sponsors
tini | inotify-tools | |
---|---|---|
26 | 10 | |
9,263 | 3,061 | |
- | 0.9% | |
0.0 | 5.7 | |
about 1 year ago | 19 days ago | |
C | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
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
inotify-tools
- Suite for keeping track of file system changes
-
Ask r/kubernetes: What are you working on this week?
I've discovered inotify-tools and lsyncd as options and POC proves that it's possible to detect filesystem changes on a shared emptydir in a pod. Now it's just time to truly prove it out.
-
Here's the tool that automatically restarting your process when file changes in the selected directory
How's it different from inotify (or inotify-tools)?
- Using NFS in a distributed synchronous processing
-
I made a UNIX-style program to run commands every time a file is updated!
I use inotfy-tools within a makefile to watch my source tex files and retrigger a recompile while manuscripting.
-
How to add a cronjob that executes a command whenever an external device is plugged in, not base on time?
maybe this may help you: https://github.com/inotify-tools/inotify-tools/wiki
- Dear AWS - Please stop your VPN Client from fucking with my networking settings
-
Stop a container from another one
I've found a library which reacts to filesystem events (https://github.com/inotify-tools/inotify-tools/wiki) and I think it could be used for that.
-
Do you use perl? Should I bother with it?
inotify-tools is available in arch (community repo), provides inotifywait and inotifywatch, hope that's close enough
-
Is there something that monitors your code as you're working and re-executes it on the command line every time it notices a change?
inotify-tools should be able to help, you can use inotifywait to watch for file system changes in a directory and run a command when something changes.
What are some alternatives?
dumb-init - A minimal init system for Linux containers
fswatch - A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
systemd - The systemd System and Service Manager
torsocks - Library to torify application - NOTE: upstream has been moved to https://gitweb.torproject.org/torsocks.git
GlusterFS - Gluster Filesystem : Build your distributed storage in minutes
s6 - The s6 supervision suite.
kfmon - Kute File Monitor, an inotify-based Launcher for Kobo devices
dualsensectl - Linux tool for controlling PS5 DualSense controller
entr - Run arbitrary commands when files change
docker-intro - This is the repo for my talk and blog post about Docker (practical example).
raylib - A simple and easy-to-use library to enjoy videogames programming