Re: docker connectivity issue

2015-10-26 Thread Irfan Sayed
It's resolved... actually i did use the yum command and left everything on that to setup the PATH and all. Regards irfan On Sun, Oct 25, 2015 at 1:53 PM, Irfan Sayed wrote: > please suggest. > i tried attaching to docker container and executing system command like > "java -version" and it work

Re: docker connectivity issue

2015-10-25 Thread Irfan Sayed
please suggest. i tried attaching to docker container and executing system command like "java -version" and it works locally / manually but through Jenkins it is not ... I am not getting what configuration i am missing Regards irfan On Sat, Oct 24, 2015 at 2:01 PM, Irfan Sayed wrote: > please

Re: docker connectivity issue

2015-10-24 Thread Irfan Sayed
please suggest I did search but not able to find Regards Irfan On Fri, Oct 23, 2015 at 11:30 PM, Irfan Sayed wrote: > please find the attached dockerfile > please suggest > > Regards > irfan > > > On Fri, Oct 23, 2015 at 10:11 AM, Irfan Sayed > wrote: > >> Moved further and tried to build the

Re: docker connectivity issue

2015-10-23 Thread Irfan Sayed
please find the attached dockerfile please suggest Regards irfan On Fri, Oct 23, 2015 at 10:11 AM, Irfan Sayed wrote: > Moved further and tried to build the docker image using dockerfile. > Jenkins job was able to fetch the dockerfile and build the image. > in the Jenkins job configuration, i

Re: docker connectivity issue

2015-10-22 Thread Irfan Sayed
Moved further and tried to build the docker image using dockerfile. Jenkins job was able to fetch the dockerfile and build the image. in the Jenkins job configuration, i have used the docker container as build environment. in the dockerfile, i am downloading the maven and setting up the path so tha

Re: docker connectivity issue

2015-10-19 Thread Irfan Sayed
Thanks Nicolas and Richard for your valuable inputs it's resolved. Regards Irfan On Mon, Oct 19, 2015 at 10:12 AM, Richard Bywater wrote: > You shouldn't be pointing it at Port 22 as that's the SSH port. You'll > need to check which tcp port you've got your Docker daemon listening on for > Do

Re: docker connectivity issue

2015-10-18 Thread Richard Bywater
You shouldn't be pointing it at Port 22 as that's the SSH port. You'll need to check which tcp port you've got your Docker daemon listening on for Docker API calls. Richard. On Mon, 19 Oct 2015 5:38 pm Irfan Sayed wrote: > update: > on the build slave configuration , i have set the following va

Re: docker connectivity issue

2015-10-18 Thread Irfan Sayed
update: on the build slave configuration , i have set the following variable: variable : DOCKER_HOST value : tcp://192.168.102.28:22 does it suffice ? Do i need to set DOCKER_TLS_VERIFY variable ? Regards On Mon, Oct 19, 2015 at 7:36 AM, Irfan Sayed wrote: > > thanks. > when i ssh to slave

Re: docker connectivity issue

2015-10-18 Thread Irfan Sayed
thanks. when i ssh to slave box (docker host), i can run following comamnd [root@localhost ~]# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE centos7try10latest 482d7f9db0fcLess than a second ago 999.4 MB

Re: docker connectivity issue

2015-10-18 Thread nicolas de loof
Can you run docker commands without setting -H ? In this case docker will use /var/run/docker.sock unix socket and not rely on TLS for security, which is the default behavior for access to local daemon. docker plugins will work the same in such a setup, and you don't have to set a docker host in yo

Re: docker connectivity issue

2015-10-18 Thread Irfan Sayed
further update : here is the docker process and running and it's PID [root@localhost docker]# ps -ef | grep docker root 1623 1 0 12:11 ?00:00:28 /usr/bin/docker -d --selinux-enabled root 3480 3415 0 12:54 ?00:00:00 bash -c cd "/tmp/workspace/docker" && java -jar

Re: docker connectivity issue

2015-10-18 Thread Irfan Sayed
i have just ssh (using port 22) to connect to docker host which is nothing but slave box this is what i have done. i haven't specified any docker URL. In job configuration, i have just given the path of Dockerfile and trying to build the image from that Dockerfile please suggest Regards On Sun

Re: docker connectivity issue

2015-10-18 Thread Richard Bywater
Have you specified the port 22 from that Docker URL or are the plug-ins doing that as port 22 isn't right for Docker. Richard On Sun, 18 Oct 2015 11:22 pm Irfan Sayed wrote: > > hi all, > > I am trying to provision the build containers dynamically using docker . i > have installed jenkins mast