Change docker socket path to /var/run/docker.sock (#3337)
This commit is contained in:
		
							parent
							
								
									f5fd831c2f
								
							
						
					
					
						commit
						a0fb417f69
					
				|  | @ -99,7 +99,7 @@ volumeMounts: | ||||||
| image: docker:dind | image: docker:dind | ||||||
| args: | args: | ||||||
|   - dockerd |   - dockerd | ||||||
|   - --host=unix:///run/docker/docker.sock |   - --host=unix:///var/run/docker.sock | ||||||
|   - --group=$(DOCKER_GROUP_GID) |   - --group=$(DOCKER_GROUP_GID) | ||||||
| env: | env: | ||||||
|   - name: DOCKER_GROUP_GID |   - name: DOCKER_GROUP_GID | ||||||
|  | @ -110,7 +110,7 @@ volumeMounts: | ||||||
|   - name: work |   - name: work | ||||||
|     mountPath: /home/runner/_work |     mountPath: /home/runner/_work | ||||||
|   - name: dind-sock |   - name: dind-sock | ||||||
|     mountPath: /run/docker |     mountPath: /var/run | ||||||
|   - name: dind-externals |   - name: dind-externals | ||||||
|     mountPath: /home/runner/externals |     mountPath: /home/runner/externals | ||||||
| {{- end }} | {{- end }} | ||||||
|  | @ -223,7 +223,7 @@ env: | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     {{- if $setDockerHost }} |     {{- if $setDockerHost }} | ||||||
|   - name: DOCKER_HOST |   - name: DOCKER_HOST | ||||||
|     value: unix:///run/docker/docker.sock |     value: unix:///var/run/docker.sock | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     {{- if $setRunnerWaitDocker }} |     {{- if $setRunnerWaitDocker }} | ||||||
|   - name: RUNNER_WAIT_FOR_DOCKER_IN_SECONDS |   - name: RUNNER_WAIT_FOR_DOCKER_IN_SECONDS | ||||||
|  | @ -264,8 +264,7 @@ volumeMounts: | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     {{- if $mountDindCert }} |     {{- if $mountDindCert }} | ||||||
|   - name: dind-sock |   - name: dind-sock | ||||||
|     mountPath: /run/docker |     mountPath: /var/run | ||||||
|     readOnly: true |  | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     {{- if $mountGitHubServerTLS }} |     {{- if $mountGitHubServerTLS }} | ||||||
|   - name: github-server-tls-cert |   - name: github-server-tls-cert | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue