Skip to content

Commit 17a4b3f

Browse files
authored
Use init with registry since it forks (#115)
Avoids many zombie processes left over ## Description Without this change, many zombie processes get left over in the registry container. Eventually these will run the system out of PIDs ## Why is this needed System will have issues if too many zombie processes are left over Fixes: # ## How Has This Been Tested? Monitored number of processes via `docker stats` ## How are existing users impacted? What migration steps/scripts do we need? Bug fix ## Checklist: I have: - [N/A] updated the documentation and/or roadmap (if required) - [N/A] added unit or e2e tests - [N/A] provided instructions on how to upgrade
2 parents e3f8d28 + e8977c3 commit 17a4b3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy/compose/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ services:
202202

203203
registry:
204204
image: registry:2.7.1
205+
init: true
205206
restart: unless-stopped
206207
network_mode: host
207208
healthcheck:

0 commit comments

Comments
 (0)