Skip to content

Commit

Permalink
docker-init: handle linux init responsibilities (#15)
Browse files Browse the repository at this point in the history
dockerd doesn't handle PID1 responsibilities well,
this PR delegates these to docker-init to ensure
that all zombie child processes are reaped etc.
  • Loading branch information
lexton authored May 3, 2023
1 parent 336c4fc commit bbdf7ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ spec:
{{- toYaml .Values.dind.resources | nindent 12 }}
# By default the Docker container starts the daemon with TLS enabled, which causes
# the launcher to fail to connect to it. Specifying the command manually disables this.
command: ["dockerd", "--host", "tcp://127.0.0.1:2375"]
command:
- docker-init
- "--"
- dockerd
- "--host"
- tcp://127.0.0.1:2375
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
Expand Down

0 comments on commit bbdf7ef

Please sign in to comment.