Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Continuous Integration with Jenkins Practical Jenkins Jenkins and Docker

Docker Python Example not working

I do not get a result that works.

[Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] sh

  • docker inspect -f . python /Users/Shared/Jenkins/Home/workspace/docker_multi_branch_master@tmp/durable-130de691/script.sh: line 1: docker: command not found [Pipeline] sh
  • docker pull python /Users/Shared/Jenkins/Home/workspace/docker_multi_branch_master@tmp/durable-a293a0da/script.sh: line 1: docker: command not found [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 127 Finished: FAILURE

I went to /Users/Shared/Jenkins/Home/workspace/docker_multi_branch and can run the docker pull python. The command is found doing it manually. Not sure what the @tmp directory is. That's empty.