Closed ryancurrah closed 6 years ago
Example of file on rundeck node being owned by root when created in a container
[rundeck@RND01 ~]$ pwd
/home/rundeck
[rundeck@RND01 ~]$ ls -ail deploy-virtual-machines-2157/
total 8
26556116 drwxr-x---. 3 rundeck rundeck 39 Dec 11 22:25 .
16903640 drwx------. 17 rundeck rundeck 4096 Dec 11 22:25 ..
1995949 drwxr-xr-x. 6 root root 4096 Dec 11 22:28 terraform-vsphere-deployvm
It would be nice if the docker run step would support the argument
user
. This way I can mount a directory from the Rundeck node and run the container as the same user running Rundeck. Otherwise the files will be will be owned by root which is the default user a container runs as unless set in the dockerfile. Also bump the version of the plugin.