github.com/rootless-containers/rootlesskit/v2@v2.3.4/docs/internal.md (about)

     1  # Internal data structure
     2  
     3  ## State dir
     4  Common:
     5  - `lock`
     6  - `child_pid`
     7  - `api.sock`
     8  - `netns` (detached netns)
     9  
    10  Network driver `slirp4netns`:
    11  - `.s4nn.sock`
    12  
    13  Port driver `builtin`:
    14  - `.bp.sock`
    15  - `.bp-ready.pipe`
    16  
    17  ## Parent-child communication
    18  
    19  ```mermaid
    20  sequenceDiagram
    21  	Parent ->> Child:  ParentHello
    22  	Child -->> Parent: ChildHello
    23  	Parent ->> Child:  ParentInitIdmapCompleted
    24  	Child -->> Parent: ChildInitUserNSCompleted
    25  	Parent ->> Child:  ParentInitNetworkDriverCompleted
    26  	Parent ->> Child:  ParentInitPortDriverCompleted
    27  ```