From 10d71f5645093d8cb4a95af0c3b92fac86f5075e Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Fri, 3 Mar 2023 16:47:48 -0600 Subject: [PATCH] Document how to get socket location for podman configuration Closes gh-34435 --- .../src/docs/asciidoc/packaging-oci-image.adoc | 2 ++ .../src/docs/asciidoc/packaging-oci-image.adoc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc index 076cd501ad..8710160717 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc @@ -461,6 +461,8 @@ include::../gradle/packaging/boot-build-image-docker-host-podman.gradle[tags=doc include::../gradle/packaging/boot-build-image-docker-host-podman.gradle.kts[tags=docker-host] ---- +TIP: With the `podman` CLI installed, the command `podman info --format='{{.Host.RemoteSocket.Path}}'` can be used to get the value for the `docker.host` configuration property shown in this example. + [[build-image.examples.docker.auth]] ==== Docker Configuration for Authentication diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging-oci-image.adoc b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging-oci-image.adoc index 6157af6b3a..e4c02f553b 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging-oci-image.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging-oci-image.adoc @@ -400,6 +400,8 @@ The plugin can be configured to use podman local connection by providing connect include::../maven/packaging-oci-image/docker-podman-pom.xml[tags=docker-podman] ---- +TIP: With the `podman` CLI installed, the command `podman info --format='{{.Host.RemoteSocket.Path}}'` can be used to get the value for the `docker.host` configuration property shown in this example. + [[build-image.examples.docker.auth]] ==== Docker Configuration for Authentication