Docker hit error with jenkins user (exec user process caused "no such file or directory")

by GergA   Last Updated May 16, 2018 14:00 PM

I would start a maven build in docker. My command successfully run with my personal account but not run with jenkins account. Here is the command:

  docker run -v /etc/hosts:/etc/hosts -v "$PWD":/usr/src/mymaven 
  -v /mnt/storage/jenkins/settings.docker.xm l:/mnt/storage/jenkins
 /settings.docker.xml -w /usr/src/mymaven myimagejava /usr/src/mymaven    
/deployhelper.sh

With the jenkins user I get the following error

standard_init_linux.go:185: exec user process caused "no such file or directory"  

the deployhelper.sh contains oly maven commands

Docker version: Server Version: 17.09.0-ce

Tags : linux docker maven


Related Questions



Nexus Repo Migrations

Updated December 13, 2016 08:00 AM