Created
September 13, 2022 08:33
-
-
Save initcron/c80ffc6f7339d87a25646a8fa0c40ff1 to your computer and use it in GitHub Desktop.
Jenkinsfile Sample Snippet with Docker Socket Mounted as a Volume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podTemplate( | |
volumes: [ | |
hostPathVolume(hostPath: '/var/run/docker.sock', mountPath: '/var/run/docker.sock') | |
]) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment