File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ Currently, the agent has the following modes:
19
19
` wait-signal `
20
20
: Waits for a specific signal or signals before it exits.
21
21
22
+ ` write-file `
23
+ : Write standard input into the given file
24
+
22
25
` license `
23
26
: This mode will print the license of the agent and exit.
24
27
@@ -58,6 +61,13 @@ the value of `\0` or a newline (`\n`) is received on `stdin`. This byte will
58
61
not be passed to the program and if any other byte is received the agent
59
62
will exit to prevent data stream corruption.
60
63
64
+ ## Writing files
65
+
66
+ The backend APIs do not support adding custom files on the fly in containers.
67
+ So the ` write-file ` mode was created. The mode takes just one argument, the
68
+ name and path of the file to write. The contents of the file will be read from
69
+ standard input
70
+
61
71
## Reporting PID
62
72
63
73
Since most container implementations don't report the PID of the process
You can’t perform that action at this time.
0 commit comments