x11docker
s6-overlay
Our great sponsors
x11docker | s6-overlay | |
---|---|---|
26 | 27 | |
5,341 | 3,477 | |
- | 1.8% | |
1.9 | 4.6 | |
about 1 month ago | 5 days ago | |
Shell | Shell | |
MIT License | GNU General Public License v3.0 or later |
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.
x11docker
- FLaNK Stack Weekly 18 September 2023
-
Can we fake a specific path for an application ?
at least, I'd suggest you take a look at https://github.com/mviereck/x11docker/issues/418
-
Linux Based Cloud Gaming Service - MaximumSettings
x11docker would be a good starting point to see what is possible: https://github.com/mviereck/x11docker and in particular https://github.com/mviereck/x11docker/wiki/Display-manager-entry-for-x11docker .
- Running graphical desktop OS with Docker
-
is there a docker alternative for x applications
Instead of using a homegrown solution, check out x11docker. It attempts to safely allow you to use x inside a container. There are certain cases where a malicious actor could take over your computer if you don't mount the relevant things safely.
-
Is it viable to use containers as a turnaround virtual machine?
This is what I use x11docker for!
-
Is there a way to run a browser through Synology?
Maybe you can try this?
-
Can you sandbox epic store ?
What OS do you use? You can probably do that with Docker. Docker in it self doesn't support GUI applications by default. There are solutions to run GUI apps in docker. In linux you could install winepak image via flatpak and sandbox it. I don't know how this is done in WIndows because I really don't use windows. Maybe you find a way to do it with docker.
- Harden and secure browsers in containers, with GUI
-
KDE Plasma on K3s?
That said, would there be any benefit of keeping the x11 session in a separate pod vs adding that container to the same pod (such as x11docker*)?
s6-overlay
-
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)
-
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.
-
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 DEBIAN_FRONTEND=noninteractive ENV TZ="America/New_York" ADD https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-amd64.tar.gz /tmp/ RUN tar -xvf /tmp/s6-overlay-amd64.tar.gz -C / RUN apt-get update && apt-get install -y wget RUN apt-get autoclean && rm -rf /tmp/* ENTRYPOINT ["/init"]
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)
- Can one use Vault to inject environment variables needed to setup on stack up rather than saving them in environment files with docker-compose?
-
Is it viable to use containers as a turnaround virtual machine?
Any idea where to get started? I've tried using a few repos on github as a point of reference to build my own kali + vnc image, but they're all severely outdated. I spent most of yesterday reverse engineering a dockefile that uses s6 but it was running version 1.2 something and the current version is like 3.0.02 iirc.
What are some alternatives?
docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
docker-restic-cron - Automated Restic backups from Docker
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
Docker-OSX - Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
docker-wine - Docker image that includes Wine and Winetricks for running Windows applications on Linux and macOS
laravel-docker-production
docker
wlroots - A modular Wayland compositor library
k3s - Lightweight Kubernetes
tinypilot - Use your Raspberry Pi as a browser-based KVM.
flyctl - Command line tools for fly.io services
docker-baseimage-ubuntu