s6-overlay
Code-Server
s6-overlay | Code-Server | |
---|---|---|
27 | 396 | |
3,523 | 65,367 | |
1.3% | 0.8% | |
4.6 | 9.2 | |
about 1 month ago | 2 days ago | |
Shell | TypeScript | |
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: 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.
-
Docker and dedicated user
If you *really* want to make your own containers with PUID/PGID support checkout "S6-overlay" and the linuxserver "baseimage". Somewhere in the startup they end up running:
-
Docker Build Process: Archive Extract onto / (root), overwrites destination directories and contents
FROM ubuntu:20.04 ARG S6_OVERLAY_VERSION=3.1.0.1 ARG DEBIAN_FRONTEND=noninteractive ENV TZ="America/New_York" RUN apt-get update && apt-get install -y xz-utils 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 RUN apt-get autoclean && rm -rf /tmp/* ENTRYPOINT ["/init"]
-
Starting a service in Dockerfile
Not sure about unbound or what have inside the pihole base image, you may try to run the service in foreground or use some tiny init service for that container (I just learnt that s6 may work for that, but you must be aware how it should be used)
Code-Server
-
Ask HN: Who is hiring? (May 2024)
Coder|Remote first - US/Canada | Full-time Software Engineer - Open Source | $140K to $180K DOE and location
We keep developers in flow. Coder has created a devtool that offloads development from local workstations to your on-prem and public cloud infrastructure. Target customer is engineering orgs at some of the world’s largest and cutting-edge companies. Our tech stack is TypeScript, React, Golang, Terraform, Linux.
Check us out: https://coder.com/ https://github.com/coder
-
Run a Linux Distro in your Android device
Disclaimer: The whole process happens locally in the tablet, therefore all the programs are executed inside the tablet. I saw some other tutorials where people use code-server and besides the coding experience might look the same, running the full OS offers more capabilities.
-
Secure Browser Access to code-server VSCode
Code-server is an open-source tool that allows you to run VSCode, a popular integrated development environment (IDE), on a remote server through the browser. This setup essentially turns VSCode into a cloud-based IDE, providing flexibility and accessibility advantages.
-
Ask HN: Who is hiring? (February 2024)
Coder | Remote first - US/Canada | Open-Source Full Stack Software Engineer: Full time, perm. Min 3 Years of exp - Go, Typescript, React | We love seeing active open-source GitHub and side project work | Base: $120K to $162K/ yr DOE and location
We keep developers in flow. Coder has created a devtool that offloads development from local workstations to your on-prem and public cloud infrastructure. Target customer is engineering orgs at some of the world’s largest and cutting edge companies. Our tech stack is golang, terraform, linux.
Check us out: https://coder.com/ , https://github.com/coder Apply online: https://jobs.ashbyhq.com/Coder
-
Utilize AI-powered Tools Amazon CodeWhisperer and Amazon Q in Visual Studio Code on Android Devices
Code Server is an open-source project that allows you to run Visual Studio Code (VS Code) in a remote server environment, accessible through a web browser. VS Code is a popular source code editor developed by Microsoft, known for its lightweight and extensible nature.
-
15 open-source tools to elevate your software design workflow
Install | Github | License
-
Ask HN: Is there any advanced web-based IDE?
> Is there any web-based version of VSCode other than VSCode.dev or any open source alternative?
This maybe? https://github.com/coder/code-server
-
Show HN: Open-source, privacy oriented alternative to GitHub Copilot chat
https://github.com/coder/code-server is like vscode.dev but self hosted
- Dev Onboarding, Then and Now
-
Backend web compiler
If you're just looking for an alternative to codesandbox, why not take the https://github.com/coder/code-server? It's basically a hosted VS code.
What are some alternatives?
docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
Gitpod - DEPRECATED since Gitpod 0.5.0; use https://github.com/gitpod-io/gitpod/tree/master/chart and https://github.com/gitpod-io/gitpod/tree/master/install/helm
docker-restic-cron - Automated Restic backups from Docker
vscodium - binary releases of VS Code without MS branding/telemetry/licensing
laravel-docker-production
termux-packages - A package build system for Termux.
docker
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
k3s - Lightweight Kubernetes
Eclipse Che - Kubernetes based Cloud Development Environments for Enterprise Teams
tinypilot - Use your Raspberry Pi as a browser-based KVM.
theia-apps - Theia applications examples - docker images, desktop apps, packagings