Home > other >  How to launch parameters from the Docker cli to RunC intact
How to launch parameters from the Docker cli to RunC intact

Time:09-16

I've been learning on the Docker Moby project, and then read some source code, know that the user is first from the Docker cli command of incoming calls and then, through the socket send Docker daemon, then through gRPC containerd, then continue to containerd - shim, followed by the shim call RunC manage the container,

Now I add some features like RunC, but need to RunC exec - parameters, for example, the container command to start, the parameter here is my artificially added as start new feature parameters, but now I don't know how to use Docker cli to this new parameter will be distributed to RunC, seek expert advice,

In addition a detailed description of the problem in the Stack Superuser on BBS, the following is a BBS links:
https://superuser.com/questions/1432442/how-docker-transfer-the-startup-args-to-containerd-then-containerd-shim-and-fina
  • Related