The OCI specs allows for start hooks to be specified. Since those are arbitrary binaries they could take a significant amount of time rendering the current timeout use to wait for the pid file to appear (i.e. 15) to be too short.
I'd propose adding an option to allow a user to set this timeout either daemon wide (i.e. for all containers) or per container. The second option would require a change in the grpc protocol though.
The OCI specs allows for start hooks to be specified. Since those are arbitrary binaries they could take a significant amount of time rendering the current timeout use to wait for the pid file to appear (i.e. 15) to be too short.
I'd propose adding an option to allow a user to set this timeout either daemon wide (i.e. for all containers) or per container. The second option would require a change in the grpc protocol though.