Actually need to pass -v JENKINS-37951-remotefs:/home/jenkins to the agent launch command, and pick /home/jenkins as the remote FS root. Then I find another bug, which I will fix: the --volumes-from detection incorrectly assumed that volumes had been predeclared (VOLUME in Dockerfile). Useful to add another sh 'uname -a' directly inside node to see this.

Jesse Glick
added a comment - 2016-09-30 20:02 Actually need to pass -v JENKINS-37951 -remotefs:/home/jenkins to the agent launch command, and pick /home/jenkins as the remote FS root. Then I find another bug, which I will fix: the --volumes-from detection incorrectly assumed that volumes had been predeclared ( VOLUME in Dockerfile ). Useful to add another sh 'uname -a' directly inside node to see this.