Skip to content

Commit 1b68762

Browse files
authored
Add intro paragraph (#31)
1 parent 5a2a8dc commit 1b68762

File tree

1 file changed

+3
-1
lines changed
  • docs/tutorials/jenkins/jenkins-host-docker

1 file changed

+3
-1
lines changed

docs/tutorials/jenkins/jenkins-host-docker/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ description: Tutorial on how to run Jenkins inside a container with Docker clien
44

55
# Jenkins with access to hosts Docker engine
66

7-
Note that by default each of the example docker compose configurations will create their own volumes for the data. This might not be what you want. In order to use the same volumes for every docker compose configuration, run docker compose with `-p` (or `--project-name`) option. This can also be done by setting `COMPOSE_PROJECT_NAME` environment variable:
7+
This tutorial provider Docker Compose configuration for running Jenkins inside a container with Docker client that controls host machines Docker engine using a socket. This works well in development environments as you can inspect containers created by Jenkins from the host system.
8+
9+
Note that by default each of the example Docker Compose configurations will create their own volumes for the data. This might not be what you want, if you want to use configuration from [Integrating Jenkins and SonarQube](../sonarqube-jenkins/README.md) as well. In order to use the same volumes for every docker compose configuration, run docker compose with `-p` (or `--project-name`) option. This can also be done by setting `COMPOSE_PROJECT_NAME` environment variable:
810

911
```sh
1012
export COMPOSE_PROJECT_NAME=jenkins

0 commit comments

Comments
 (0)