Skip to content

Commit 3a7d32c

Browse files
Sudan Landgewearyzen
authored andcommitted
doc: update known limitation of jailer
da92bf6 commit changed the behaviour of the pid returned by the jailer so, add a known limitation explaining that and suggest a workaround to get the Firecracker pid. Signed-off-by: Sudan Landge <[email protected]>
1 parent 0ffc732 commit 3a7d32c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/jailer.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,14 @@ Note: default value for `<api-sock>` is `/run/firecracker.socket`.
277277
associated with `--daemonize` runs towards the end, instead of the very
278278
beginning. We are working on adding better logging capabilities.
279279

280+
### Known limitations
281+
282+
- When passing the --daemonize option to Firecracker without the --new-ns-pid
283+
option, the Firecracker process will have a different pid than the Jailer
284+
process. The suggested workaround to get Firecracker process's pid in this
285+
case is using `--new-pid-ns` flag and read Firecracker's pid from the
286+
`firecracker.pid` file present in the jailer's root directory.
287+
280288
## Caveats
281289

282290
- If all the cgroup controllers are bunched up on a single mount point using the

0 commit comments

Comments
 (0)