@@ -272,6 +272,10 @@ read the configuration from `config.json`.
272272 gets launched but after the container environment and main process has been
273273 created.
274274
275+ ** --poststart-env** =[ ]
276+ Set environment variables for commands in poststart hooks, format is CMD: ENV . e.g. --poststart-env=/bin/test: key =value
277+ This option can be specified multiple times. When same CMD specified over once, the last one make sense.
278+
275279** --poststart-timeout** =[ ]
276280 Set timeout for commands in poststart hooks, format is CMD: TIMEOUT . e.g. --poststart-timeout=/bin/test:5
277281 This option can be specified multiple times. When same CMD specified over once, the last one make sense.
@@ -281,6 +285,10 @@ read the configuration from `config.json`.
281285 The multiple commands will be run in order after the container process
282286 is stopped.
283287
288+ ** --poststop-env** =[ ]
289+ Set environment variables for commands in poststop hooks, format is CMD: ENV . e.g. --poststop-env=/bin/test: key =value
290+ This option can be specified multiple times. When same CMD specified over once, the last one make sense.
291+
284292** --poststop-timeout** =[ ]
285293 Set timeout for commands in poststop hooks, format is CMD: TIMEOUT . e.g. --poststop-timeout=/bin/test:5
286294 This option can be specified multiple times. When same CMD specified over once, the last one make sense.
@@ -290,6 +298,10 @@ read the configuration from `config.json`.
290298 The multiple commands will be run in order after the container process
291299 has been created but before it executes the user-configured code.
292300
301+ ** --prestart-env** =[ ]
302+ Set environment variables for commands in poststop hooks, format is CMD: ENV . e.g. --prestart-env=/bin/test: key =value
303+ This option can be specified multiple times. When same CMD specified over once, the last one make sense.
304+
293305** --prestart-timeout** =[ ]
294306 Set timeout for commands in prestart hooks, format is CMD: TIMEOUT . e.g. --prestart-timeout=/bin/test:5
295307 This option can be specified multiple times. When same CMD specified over once, the last one make sense.
0 commit comments