sablierapp / sablier

Start your containers on demand, shut them down automatically when there's no activity. Docker, Docker Swarm Mode and Kubernetes compatible.
https://sablierapp.dev/
GNU Affero General Public License v3.0
1.36k stars 46 forks source link

Add `systemd` provider #148

Open tandy-1000 opened 1 year ago

tandy-1000 commented 1 year ago

Describe the provider Systemd is used on NixOS to provide OCI containers, this is my usecase. This would also open up Sablier to work for many other providers which already utilise systemd.

Does the provider provides the following APIs An instance is a generic term used to describe containers, pods, deployments, and more

API Yes No I don't know
Start an instance
Stop an instance
Get info about an instance
Listening for external events happening

Does the provider has a Go API SDK?

https://github.com/coreos/go-systemd

Does the provider can be started locally Yes.

acouvreur commented 1 year ago

Thanks for your proposal @tandy-1000 ! I'm not really familiar with Systemd.

And you say:

Systemd is used on NixOS to provide OCI containers

Could you please provide an example of the scenario when you do it by hand ?

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.