Merge pull request #42078 from martinfrancois

* pr/42078:
  Improve formatting for Docker configuration example with Colima

Closes gh-42078
This commit is contained in:
Phillip Webb 2024-09-01 18:56:07 -07:00
commit 9f8fae0261
2 changed files with 12 additions and 2 deletions

View File

@ -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:

View File

@ -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: