s6-overlay
tinypilot
s6-overlay | tinypilot | |
---|---|---|
30 | 110 | |
3,805 | 3,070 | |
1.1% | 0.9% | |
4.4 | 8.3 | |
about 2 months ago | 8 days ago | |
Shell | Python | |
GNU General Public License v3.0 or later | 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.
s6-overlay
- S6 Overlay for Containers
-
S6 – skarnet's small supervision suite
This one looks pretty well thought out: https://github.com/just-containers/s6-overlay
There's a huge community https://www.linuxserver.io/ for people building "home server" containers that all use the s6-overlay. So they have a lot of tutorials and a very busy Discord, Reddit, etc with all levels of experience from container developers to people who don't program and are just getting into Docker.
-
Show HN: I am building an open-source Confluence and Notion alternative
This has worked pretty well for me both for service control and pre-execution environment setup
https://github.com/just-containers/s6-overlay
- S6-overlay: one *thing* per Docker container
-
Backup Grafana SQLite with Litestream using s6-overlay in a container app
FROM docker.io/grafana/grafana-oss:9.5.12-ubuntu # Set USER to root escalating priviliges to perform installation of litestream and s6-overlay USER root RUN apt-get -qq update && \ apt-get -qq install -y xz-utils \ && rm -rf /var/libs/apt/lists/* # https://github.com/benbjohnson/litestream-s6-example/blob/main/Dockerfile # Download the static build of Litestream directly into the path & make it executable. ADD https://github.com/benbjohnson/litestream/releases/download/v0.3.11/litestream-v0.3.11-linux-amd64.tar.gz /tmp/litestream.tar.gz RUN tar -C / -xvzf /tmp/litestream.tar.gz ARG S6_OVERLAY_VERSION="3.1.5.0" # Download the s6-overlay for process supervision. ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz /tmp RUN tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz # Copy s6 init & service definitions. COPY etc/s6-overlay /etc/s6-overlay # Copy Litestream configuration file. COPY etc/litestream.yml /etc/litestream.yml # The kill grace time is set to zero because our app handles shutdown through SIGTERM. ENV S6_KILL_GRACETIME=0 # Sync disks is enabled so that data is properly flushed. ENV S6_SYNC_DISKS=1 # Reset USER to 472 to reset the escalated privileges USER 472 # # Run the s6 init process on entry. ENTRYPOINT [ "/init" ]
-
Letme Dockerize for you | share your projects
Learn S6-Overlay that allows to have one docker container for multiple processes... make immich docker compose not a two page 8 containers long? But just one clean container with healthcheck. Convince the devs to switch to it.
-
Code-server : Awesome VS Code container on browser (Useful for Fast Cloud Deploy - Fix Corporate Issues)
Custom base docker image with S6 overlay (for more details : just-containers/s6-overlay)
-
xinetd/inetd/systemd socket services in Docker?
https://github.com/just-containers/s6-overlay can do what you need.
-
Alpine Linux is reducing dependencies on Busybox
Used s6-overlay[1] to start a lot daemons in a docker-image for demo purposes - postgres, tomcat, mysql, php-fpm, apache (don't ask why ;) - s6 worked really well and was reliable and stable - I enjoyed it very much. It was also possible to reliable pass SIGTERM to the daemons in the image for clean shutdown and it was easily possible to configure logging to stdout with a prefix. Modelling dependencies (waiting on database before starting app etc.pp) is possible via shell-scripts. It's super flexible but out of the box it's more like a collection of powerful tools not a complete package - but that's good. It's in the tradition of djb daemontools and is very unix - as in doesn't talk a lot and you better know how each part works but - and that's really cool - it's modular and simple and once you get a grip on it you can easily reason about it. systemd takes a completely different approach and also solves a kind of differnt problem - this is like small pieces of lego that compose well instead of one big chunk of glib/dbus/glibc only c-code.
1: https://github.com/just-containers/s6-overlay
-
Do Docker Containers go thru a Boot Process
Every container has some entrypoint, whether it launches a single binary, runs a "process supervisor" like s6, or does some pre-setup before running a service, like a database.
tinypilot
-
A terrible way to jump into colocating your own stuff
If you don't want to assemble a PiKVM yourself there's always Tiny Pilot: https://tinypilotkvm.com/
- Sipeed/NanoKVM: NanoKVM: Affordable, Multifunctional, Nano RISC-V IP-KVM
- I Sold TinyPilot, My First Successful Business
-
Hrvach/Deskhop: Fast Desktop Switching Device
I make one that I put a lot of effort into documenting:
https://github.com/tiny-pilot/tinypilot
It's pretty easy to extend since it's just Python and vanilla HTML/JS/CSS, so there's not much of a toolchain to install.
You can buy it pre-made for $399 or make a DIY one for under $100.
https://tinypilotkvm.com/blog/build-a-kvm-over-ip-under-100
-
Ask HN: Any Hardware Startups Here?
Took me awhile to remember what it was called, but TinyPilot [^0] by mtlynch is pretty cool. Michael sometimes writes about running a hardware business on his blog [^1].
[^0]: https://tinypilotkvm.com
[^1]: https://mtlynch.io/posts/
- 8 or 16 port kvm with tiny pilot
- RPI Alternatives
-
Remotely control a laptop with no software installed on the laptop being controlled
https://tinypilotkvm.com is a great option for this.
-
TinyPilot Voyager fan & password issues
Flash the microSD with Raspberry Pi OS Lite, and then install the free, Community edition of TinyPilot.
-
Exchanging tinypilot 2 for 2a?
Not yet, but that's something we're exploring: https://github.com/tiny-pilot/tinypilot/issues/1320
What are some alternatives?
docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.26 on Alpine Linux
Open and cheap DIY IP-KVM based on Raspberry Pi - Open and inexpensive DIY IP-KVM based on Raspberry Pi
docker-restic-cron - Automated Restic backups from Docker
pikvmx86 - Run Pi-KVM on x86
laravel-docker-production
tailscale - The easiest, most secure way to use WireGuard and 2FA.
docker
ustreamer - µStreamer - Lightweight and fast MJPEG-HTTP streamer
k3s - Lightweight Kubernetes
blikvm - Open and cost-effective "KVM-over-IP". BliKVM comes in 4 different models, v1 CM4, v2 PCIe, v3 HAT and v4 Allwinner, based on Raspberry Pi and Allwinner SoC.
flyctl - Command line tools for fly.io services
linux-m1 - Linux kernel source tree