Skip to content

Instantly share code, notes, and snippets.

@initcron
Created September 13, 2022 08:33
Show Gist options
  • Save initcron/c80ffc6f7339d87a25646a8fa0c40ff1 to your computer and use it in GitHub Desktop.
Save initcron/c80ffc6f7339d87a25646a8fa0c40ff1 to your computer and use it in GitHub Desktop.
Jenkinsfile Sample Snippet with Docker Socket Mounted as a Volume
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