Skip to content

Commit

Permalink
kube driver: change default dind image to alpine (#453)
Browse files Browse the repository at this point in the history
fix errors while starting the Docker server on GKE nodes:
```
failed to start daemon: Error initializing network controller: error creating default bridge network: Failed to Setup IP tables: Unable to enable NAT rule:  (iptables failed: iptables --wait -t nat -I POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE: Warning: Extension MASQUERADE revision 0 not supported, missing kernel module?
iptables v1.8.10 (nf_tables):  CHAIN_ADD failed (No such file or directory): chain POSTROUTING
 (exit status 4))
```
  • Loading branch information
Roy Razon authored Mar 28, 2024
1 parent 6eeba1f commit 928ee2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/driver-kube-pod/static/default-template.yaml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
serviceAccountName: {{ id }}-sa
containers:
- name: docker
image: docker:24-dind
image: docker:24.0.7-dind-alpine3.18
securityContext:
privileged: true
command: ["dockerd", "--host=tcp://0.0.0.0:2375", "--host=unix:///var/run/docker.sock"]
Expand Down

0 comments on commit 928ee2f

Please sign in to comment.