Skip to content

Commit

Permalink
Merge pull request #28235 from zakkak/2022-09-27-fix-rootless-docker-…
Browse files Browse the repository at this point in the history
…context-support

Fix support for rootless docker context
  • Loading branch information
zakkak authored Sep 28, 2022
2 parents f8fd30c + 71a0501 commit aaf9b9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private static String fetchDockerEndpoint() {
OutputFilter outputFilter = new OutputFilter();
if (!ExecUtil.execWithTimeout(new File("."), outputFilter, Duration.ofMillis(3000),
"docker", "context", "ls", "--format",
"'{{- if .Current -}} {{- .DockerEndpoint -}} {{- end -}}'")) {
"{{- if .Current -}} {{- .DockerEndpoint -}} {{- end -}}")) {
LOGGER.debug("Docker context lookup didn't succeed in time");
return null;
}
Expand Down

0 comments on commit aaf9b9c

Please sign in to comment.