Skip to content

Commit fd9d907

Browse files
martinfrancoisphilwebb
authored andcommitted
Improve formatting for Docker configuration example with Colima
See gh-42078
1 parent b29bc2d commit fd9d907

File tree

2 files changed

+12
-2
lines changed
  • spring-boot-project/spring-boot-tools

2 files changed

+12
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc

+6-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,12 @@ TIP: With the `podman` CLI installed, the command `podman info --format='{{.Host
602602
==== Docker Configuration for Colima
603603

604604
The plugin can communicate with the Docker daemon provided by https://github.com/abiosoft/colima[Colima].
605-
The `DOCKER_HOST` environment variable can be set by using the command `export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}').`
605+
The `DOCKER_HOST` environment variable can be set by using the following command:
606+
607+
[source,shell,subs="verbatim,attributes"]
608+
----
609+
$ export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}')
610+
----
606611

607612
The plugin can also be configured to use Colima daemon by providing connection details similar to those shown in the following example:
608613

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc

+6-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,12 @@ TIP: With the `colima` CLI installed, the command `podman info --format='{{.Host
511511
==== Docker Configuration for Colima
512512

513513
The plugin can communicate with the Docker daemon provided by https://github.com/abiosoft/colima[Colima].
514-
The `DOCKER_HOST` environment variable can be set by using the command `export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}').`
514+
The `DOCKER_HOST` environment variable can be set by using the following command:
515+
516+
[source,shell,subs="verbatim,attributes"]
517+
----
518+
$ export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}')
519+
----
515520

516521
The plugin can also be configured to use Colima daemon by providing connection details similar to those shown in the following example:
517522

0 commit comments

Comments
 (0)