Commit 5e35fc4
committed
Kill dockerd immediately on container exit
When dockerd is running inside the container, skip exec so the
entrypoint shell stays alive to run an EXIT trap that SIGKILL's
dockerd. This avoids a ~60s wait for dockerd's graceful shutdown
when the agent process exits.1 parent 98bfc51 commit 5e35fc4
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
0 commit comments