Comments (1)
Systemd support seems decent enough, so this doesn't seem like an important feature anymore.
It's surely heavier than an S6 based solution, but a systemd-based solution seems more likely to work correctly. This is certainly not an inherit property of systemd. Rather, this has to do with the lack of an interface in NixOS for doing things without systemd, which results in tight coupling with it.
A safer path seems to be to modularize NixOS, so you can leave out parts like filesystem support and networking. Another improvement is to compile a systemd with fewer options enabled.
It's easy though
Of course, if anyone wants to contribute a PR that adds support for an alternative init system, that would be very welcome, and I believe that the way service configuration is set up should support that - just have a look at the nixos-init.nix
module for an example. It's tiny, little more than a mkIf
and image.command = [ "${config.nixos.build.toplevel}/init" ];
. A new module could do the same, but differently.
from arion.
Related Issues (20)
- Dockerfile option is not exposed
- how to 'Improve performance by skipping container image creation'? HOT 2
- services.<name>.service.build.context doesn't work
- Updating/pulling containers on NixOS module deployment. HOT 3
- Allow array of strings to be passed to `entrypoint` HOT 1
- You're using a version of Nixpkgs that doesn't support the includeStorePaths parameter in d HOT 1
- Declarative configuration of supporting operations (using OCI hooks) HOT 2
- Reduce number of layers in built image HOT 1
- How to specify `stdin_open` HOT 1
- [Feat] healthcheck.test is also allowed to be a string
- Infinite recursion when importing from arionPath in configuration.nix HOT 2
- Disable DHCP in NixOS-based containers
- Question: how to get/change input image ( HOT 1
- `arion up` fails with strange error HOT 3
- fails to update on NixOS 23.11 due to nix-store version HOT 3
- shell completions
- ERROR: runtime error: index out of range [0] with length 0 HOT 6
- Arion tries to start a service before podman is up HOT 2
- nix2container integration HOT 1
- Allow setting log namespaces for systemd services generated by Arion on NixOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arion.