Commit c91022cf authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Refina documentación de aislamiento

parent 16134fa3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,8 +30,8 @@ gitlab-runner unregister --all-runners

## Environment isolation

This service is configured to work with `docker` executor. By default, your CI jobs will run in a Docker container launched at the host system of `gitlab-runner` service, sharing the same Docker daemon and resources (networks, volumes...).
This service is configured to work with `docker` executor. By default, your CI jobs will run in a Docker container launched at the host system of `gitlab-runner` service, sharing the same Docker daemon and resources (networks, volumes...) with host and others CI jobs running concurrently.

In some use cases this is a desired behaviour, because you need local resources from host or it's local network.

To achieve isolation from host's Docker environment, you should use `dind` (docker-in-docker) as a service, applied to your CI job at `.gitlab-ci.yml`. This way, launched container cannot see resources at host system.
To achieve isolation from host's Docker environment (and others CI jobs running concurrently), you should use `dind` (docker-in-docker) as a service, applied to your CI job at `.gitlab-ci.yml`. This way, launched container cannot see any external resources.