Up, please some one?

Le jeudi 17 août 2017 13:06:16 UTC+2, Sowlène a écrit :
>
> Hi there,
> I'm a young student trying to do something a little bit complicated to me 
> :)
>
> I've got a repo on github with my Dockerfile in. with many config file 
> too, as an Entrypoint.sh who initialize some things when i run Docker 
> Container with my docker image.
>
> I would like to connect my github repo with Jenkins (something i think i 
> successed) and i want to use Docker directly into Jenkins.
>
> In fact We have :
>
> My Github Repo with my Dockerfile manage by Jenkins2 (& 
> pipelines/BlueOcean) => Jenkins Build my Docker Image with my Dockerfile on 
> Github
> ( docker build -t solene/installtv2 . )
>
> At this step, I just want to use Jenkins to Run docker container to test 
> applications dev by my coworkers.
>
> But each time I try to run Docker container this error appear : 
>
> docker run -e DATABASE_TYPE=mysql -e DATABASE_USER=tracimuser -e 
> DATABASE_PASSWORD=tracimpassword -e DATABASE_HOST=192.168.1.73 -e 
> DATABASE_NAME=tracimdb solene/installtv2
>
> container_linux.go:262: starting container process caused "exec: 
> \"/tracim/entrypoint.sh\": permission denied"
>
> docker: Error response from daemon: oci runtime error: 
> container_linux.go:262: starting container process caused "exec: 
> \"/tracim/entrypoint.sh\": permission denied".
>
> time="2017-08-17T11:21:12+02:00" level=error msg="error waiting for 
> container: context canceled" 
>
> script returned exit code 126
>
>
> I don't understand why :/ When I try it localy it works :/ 
> Do you have some advices ?
> Is it better to use master/slave configuration in this case ? (thing i 
> don't know how to use, and i don't really understand)
>
> Thank's for your help ! :)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ae40c79b-51e7-4a0b-a792-9ba256603a4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to