Inside Pipeline this works sh 'docker info'
But if I do: sh 'python mycode.py' I get an error: Unable to locate docker daemon I did the usermod -aG command and verified Jenkins is partof the docker group. Is DOCKER_HOST missing from inside of Pipeline? sh 'whoami' ...does reveal "Jenkins" Bottom line, docker commands work directly from Pipeline but not using the "subprocess" package inside of Python. Not sure what I should try next. Thanks... Bruno Terkaly -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9f67fb7c-558e-4f7a-809b-a52337100553%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.