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    

With the jenkins user I get the following error

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

the contains oly maven commands

Docker version: Server Version: 17.09.0-ce

Tags : linux docker maven

Related Questions

WSL and maven wrapper?

Updated August 06, 2018 21:00 PM

Nexus Repo Migrations

Updated December 13, 2016 08:00 AM