title: How to replace docker plugin in Jenkins plus kubernetes
body: <p>Recently we have installed a k8s cluster and connected Jenkins to it. Previously in our pipelines we always used docker.image.inside() function which let us to run some code inside an image. But now we don't have a docker socket inside jenkins agent image. Is there a way to execute a code inside an image without docker socket?
  We have Jenkins agent with configured kubectl inside.</p>