-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any systemd unit files available for running as a service ? #1793
Comments
Something like: buildkit.service [Unit]
Description=BuildKit
Documentation=https://github.com/moby/buildkit
[Service]
ExecStart=/usr/local/bin/buildkitd
[Install]
WantedBy=multi-user.target Not sure what the dependencies are like, with network/local-fs or with containerd ? |
Can also be socket-activated: buildkit.socket [Unit]
Description=BuildKit
Documentation=https://github.com/moby/buildkit
[Socket]
ListenStream=%t/buildkit/buildkitd.sock
[Install]
WantedBy=sockets.target That way the daemon will start on-demand, when user accesses the unix socket. |
Unless, I am mistaken there is currenly no way to do socket-activation with With docker this is done with http://0pointer.de/blog/projects/socket-activation.html
|
Included in 0.9.0 |
There doesn't seem to be any files for starting up buildkitd
Similar to e.g.
containerd.service
The text was updated successfully, but these errors were encountered: