You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: runtime.md
-78Lines changed: 0 additions & 78 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,84 +67,6 @@ $ echo $?
67
67
42
68
68
```
69
69
70
-
### exec
71
-
72
-
Runs a secondary process in the given container.
73
-
74
-
**Options*
75
-
**`--process <PATH>`* Override `process.json` with an alternative path. The path may not support seeking (e.g. `/dev/fd/3`).
76
-
**Arguments*
77
-
**`<ID>`* The container ID to join.
78
-
**Standard streams:* The runtime must attach its standard streams directly to the application process without inspection.
79
-
**Exit code:* The runtime must exit with the application process's exit code.
80
-
81
-
If the main application (launched by `start`) dies, all other processes in its container will be killed [TODO: link to lifecycle docs explaining this].
82
-
83
-
Example:
84
-
```sh
85
-
# in a directory with a process.json that echos "goodbye" and exits 43
86
-
$ funC exec hello-1
87
-
goodbye
88
-
$ echo$?
89
-
43
90
-
```
91
-
92
-
### pause
93
-
94
-
Pause all processes in a container.
95
-
96
-
**Options*
97
-
**`--wait`* Block until the process is completely paused.
98
-
Otherwise return immediately after initiating the pause, which may happen before the pause is complete.
99
-
**Arguments*
100
-
**`<ID>`* The container ID to join.
101
-
**Exit code:* 0 on success, non-zero on error.
102
-
103
-
Example:
104
-
```sh
105
-
$ funC pause --wait hello-1
106
-
$ echo$?
107
-
0
108
-
```
109
-
110
-
### resume
111
-
112
-
Unpause all processes in a container.
113
-
114
-
**Options*
115
-
**`--wait`* Block until the process is completely unpaused.
116
-
Otherwise return immediately after initiating the unpause, which may happen before the unpause is complete.
117
-
**Arguments*
118
-
**`<ID>`* The container ID to join.
119
-
**Exit code:* 0 on success, non-zero on error.
120
-
121
-
Example:
122
-
```sh
123
-
$ funC resume hello-1
124
-
$ echo$?
125
-
0
126
-
```
127
-
128
-
### signal
129
-
130
-
Sends a signal to the container.
131
-
132
-
**Options*
133
-
**`--signal <SIGNAL>`* The signal to send.
134
-
This must be one of the valid POSIX signals, although runtimes on non-POSIX systems must translate the POSIX name to their platorm's analogous signal.
135
-
Defaults to TERM.
136
-
**Arguments*
137
-
**`<ID>`* The container ID to join.
138
-
**Exit code:* 0 on success, non-zero on error.
139
-
A 0 exit status does not imply the process has exited (as it may have caught the signal).
0 commit comments