pipeline { agent { docker { image 'docker_image' args '-v /mlruns:/mlruns' } } stages { stage('Script') { steps { sh 'python3 ./registry.py' } } } }