Host mounts allow you to mount an absolute path on the host machine into a pipeline step. This setting is only available to trusted repositories.
This setting is only available to trusted repositories, since mounting host machine volumes is a security risk. If you absolutely need to mount a volume, you must set
privileged: true
for the step in order for Docker-in-Docker to work as expected.
|
|
The first step is to define the host machine volume path. The host volume path must be an absolute path.
|
|
The next step is to configure your pipeline step to mount the named host path into your container. The container path must also be an absolute path.
|
|