opencontainers / opencontainers/runc

New runc option to send sd_notify instead of using --pid-file?

Open
#3,324 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
13.5k
Forks
2.3k
Avg merge
2d 8h
Merged PRs (30d)
30

Description

Right now runc can proxy sd_notify from the container.
What do you think about adding a flag that allows runc to to directly send those notifications instead of using --pid-file?
In this case the container process would not send this notification, only runc once it knows what the pid is.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing runc's existing sd_notify proxying and --pid-file handling. Clarify the proposed flag's semantics and lifecycle, then define tests that verify runc sends the notification only after it knows the container PID.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.