diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc index c809d8ef7a32..e0bf6658d0de 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc @@ -602,7 +602,12 @@ TIP: With the `podman` CLI installed, the command `podman info --format='{{.Host ==== Docker Configuration for Colima The plugin can communicate with the Docker daemon provided by https://github.com/abiosoft/colima[Colima]. -The `DOCKER_HOST` environment variable can be set by using the command `export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}').` +The `DOCKER_HOST` environment variable can be set by using the following command: + +[source,shell,subs="verbatim,attributes"] +---- +$ export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}') +---- The plugin can also be configured to use Colima daemon by providing connection details similar to those shown in the following example: diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc index 815aebdf3691..701a5c7f7c2e 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc @@ -511,7 +511,12 @@ TIP: With the `colima` CLI installed, the command `podman info --format='{{.Host ==== Docker Configuration for Colima The plugin can communicate with the Docker daemon provided by https://github.com/abiosoft/colima[Colima]. -The `DOCKER_HOST` environment variable can be set by using the command `export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}').` +The `DOCKER_HOST` environment variable can be set by using the following command: + +[source,shell,subs="verbatim,attributes"] +---- +$ export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}') +---- The plugin can also be configured to use Colima daemon by providing connection details similar to those shown in the following example: